Improve error message.

GitOrigin-RevId: a0da9ac936aad83d95f1f13a18560728f9bf5ba7
This commit is contained in:
levlam 2020-03-31 02:21:26 +03:00
parent 62a9eac907
commit 09f2dc8e9d

View File

@ -12800,7 +12800,7 @@ unique_ptr<MessagesManager::Message> MessagesManager::do_delete_message(Dialog *
set_dialog_last_database_message_id(d, (*it)->message_id, "do_delete_message");
if (d->last_database_message_id < d->first_database_message_id) {
LOG(ERROR) << "Last database " << d->last_database_message_id << " became less than first database "
<< d->first_database_message_id << " in " << d->dialog_id;
<< d->first_database_message_id << " after deletion of " << full_message_id;
set_dialog_first_database_message_id(d, d->last_database_message_id, "do_delete_message 2");
}
} else {