diff --git a/td/telegram/MessagesManager.cpp b/td/telegram/MessagesManager.cpp index de6702602..9a24bce45 100644 --- a/td/telegram/MessagesManager.cpp +++ b/td/telegram/MessagesManager.cpp @@ -6377,7 +6377,9 @@ void MessagesManager::add_pending_update(tl_object_ptr &&u if (td_->updates_manager_->running_get_difference() || !postponed_pts_updates_.empty()) { LOG(INFO) << "Save pending update got while running getDifference from " << source; - CHECK(update->get_id() == dummyUpdate::ID || update->get_id() == updateSentMessage::ID); + if (!(update->get_id() == dummyUpdate::ID || update->get_id() == updateSentMessage::ID)) { + return; + } postpone_pts_update(std::move(update), new_pts, pts_count, std::move(promise)); return; }