Force getDifference after receiving an update with incorrect qts.

This commit is contained in:
levlam 2021-03-14 05:08:37 +03:00
parent 92d8d1b9fd
commit 76dce207b3

View File

@ -1653,6 +1653,7 @@ void UpdatesManager::add_pending_qts_update(tl_object_ptr<telegram_api::Update>
CHECK(update != nullptr);
if (qts <= 1) {
LOG(ERROR) << "Receive wrong qts " << qts << " in " << oneline(to_string(update));
schedule_get_difference("add_pending_qts_update");
promise.set_value(Unit());
return;
}