Remove wrong because of call through send_closure_later CHECK.

GitOrigin-RevId: c61586c3dde988c3174f4ce3e05fe0f08d7af468
This commit is contained in:
levlam 2020-10-14 19:03:36 +03:00
parent a487d20e2d
commit b03e0a827e

View File

@ -19553,7 +19553,6 @@ void MessagesManager::do_read_history_on_server(DialogId dialog_id) {
Dialog *d = get_dialog(dialog_id); Dialog *d = get_dialog(dialog_id);
CHECK(d != nullptr); CHECK(d != nullptr);
CHECK(!d->updated_read_history_message_ids.empty());
for (auto top_thread_message_id : d->updated_read_history_message_ids) { for (auto top_thread_message_id : d->updated_read_history_message_ids) {
if (!top_thread_message_id.is_valid()) { if (!top_thread_message_id.is_valid()) {