diff --git a/td/telegram/MessagesManager.cpp b/td/telegram/MessagesManager.cpp index 3306436f7..aa5cd550b 100644 --- a/td/telegram/MessagesManager.cpp +++ b/td/telegram/MessagesManager.cpp @@ -18357,7 +18357,11 @@ vector MessagesManager::get_message_notifications_from_database_fo continue; } - CHECK(m->notification_id.get() < from_notification_id.get()); + LOG_CHECK(m->notification_id.get() < from_notification_id.get()) + << from_mentions << " " << d->dialog_id << " " << m->message_id << " " << m->notification_id << " " + << from_message_id << " " << from_notification_id << " " << group_info.group_id << " " + << group_info.last_notification_date << " " << greoup_info.last_notification_id << " " + << group_info.max_removed_notification_id; from_notification_id = m->notification_id; from_message_id = m->message_id; is_found = true;