mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Fix crash clearing chats list before histories.
This commit is contained in:
@@ -381,6 +381,9 @@ void Session::clear() {
|
||||
cSetRecentInlineBots(RecentInlineBots());
|
||||
cSetRecentStickers(RecentStickerPack());
|
||||
HistoryView::Element::ClearGlobal();
|
||||
_contactsNoChatsList.clear();
|
||||
_contactsList.clear();
|
||||
_chatsList.clear();
|
||||
_histories->clearAll();
|
||||
_webpages.clear();
|
||||
_locations.clear();
|
||||
|
Reference in New Issue
Block a user