Remove unaccessible for reading chats from recent list.

GitOrigin-RevId: ac80c4d127f28fb72ef3cb44f15464ce72dd241f
This commit is contained in:
levlam 2018-07-24 18:30:04 +03:00
parent 3717a2b132
commit 88dae19d7e

View File

@ -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);
}