Add force_create_dialog debug.

GitOrigin-RevId: 31c3d381ea276519a8c93732ad88c6e99ffec295
This commit is contained in:
levlam 2019-12-15 23:33:58 +03:00
parent cf1902c04a
commit d4a701f48a

View File

@ -27053,7 +27053,7 @@ MessageId MessagesManager::get_message_id_by_random_id(Dialog *d, int64 random_i
}
void MessagesManager::force_create_dialog(DialogId dialog_id, const char *source, bool force_update_dialog_pos) {
CHECK(dialog_id.is_valid());
LOG_CHECK(dialog_id.is_valid()) << source;
Dialog *d = get_dialog_force(dialog_id);
if (d == nullptr) {
LOG(INFO) << "Force create " << dialog_id << " from " << source;