diff --git a/td/telegram/MessagesManager.cpp b/td/telegram/MessagesManager.cpp index 0d6d1c5d1..f2561efc3 100644 --- a/td/telegram/MessagesManager.cpp +++ b/td/telegram/MessagesManager.cpp @@ -10863,12 +10863,14 @@ void MessagesManager::unload_dialog(DialogId dialog_id) { CHECK(d != nullptr); if (!d->has_unload_timeout) { + LOG(INFO) << "Don't need to unload " << dialog_id; // possible right after the dialog was opened return; } if (!is_message_unload_enabled()) { // just in case + LOG(INFO) << "Message unload is disabled in " << dialog_id; d->has_unload_timeout = false; return; }