Avoid expected warning.

This commit is contained in:
levlam 2022-08-08 19:20:19 +03:00
parent 8717720ee9
commit ca95e77845

View File

@ -1550,7 +1550,9 @@ void UpdatesManager::on_get_difference(tl_object_ptr<telegram_api::updates_Diffe
break;
}
case telegram_api::updates_differenceTooLong::ID: {
LOG(ERROR) << "Receive differenceTooLong";
if (G()->shared_config().get_option_integer("session_count") <= 1) {
LOG(ERROR) << "Receive differenceTooLong";
}
// TODO
auto difference = move_tl_object_as<telegram_api::updates_differenceTooLong>(difference_ptr);
set_pts(difference->pts_, "differenceTooLong").set_value(Unit());