Add debug.

GitOrigin-RevId: dc68c9353478ff31fb9ffdfade356c3770b6fbc4
This commit is contained in:
levlam 2018-09-13 23:06:59 +03:00
parent b4a287068f
commit 95808d2230

View File

@ -25547,7 +25547,7 @@ MessagesManager::Dialog *MessagesManager::get_dialog_force(DialogId dialog_id) {
LOG(INFO) << "Try to load " << dialog_id << " from database";
auto d = on_load_dialog_from_database(G()->td_db()->get_dialog_db_sync()->get_dialog(dialog_id));
CHECK(d == nullptr || d->dialog_id == dialog_id);
CHECK(d == nullptr || d->dialog_id == dialog_id) << d->dialog_id << " " << dialog_id;
return d;
}