Add force_create_dialog debug.
GitOrigin-RevId: 31c3d381ea276519a8c93732ad88c6e99ffec295
This commit is contained in:
parent
cf1902c04a
commit
d4a701f48a
@ -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) {
|
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);
|
Dialog *d = get_dialog_force(dialog_id);
|
||||||
if (d == nullptr) {
|
if (d == nullptr) {
|
||||||
LOG(INFO) << "Force create " << dialog_id << " from " << source;
|
LOG(INFO) << "Force create " << dialog_id << " from " << source;
|
||||||
|
Reference in New Issue
Block a user