From 88dae19d7e07580460588d7248a7b90c1512f6f7 Mon Sep 17 00:00:00 2001 From: levlam Date: Tue, 24 Jul 2018 18:30:04 +0300 Subject: [PATCH] Remove unaccessible for reading chats from recent list. GitOrigin-RevId: ac80c4d127f28fb72ef3cb44f15464ce72dd241f --- td/telegram/MessagesManager.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/td/telegram/MessagesManager.cpp b/td/telegram/MessagesManager.cpp index 14c1b3b38..42c32dcbf 100644 --- a/td/telegram/MessagesManager.cpp +++ b/td/telegram/MessagesManager.cpp @@ -8818,6 +8818,9 @@ void MessagesManager::delete_dialog(DialogId dialog_id) { d->have_full_history = false; d->need_restore_reply_markup = true; } + if (remove_recently_found_dialog_internal(dialog_id)) { + save_recently_found_dialogs(); + } close_dialog(d); }