Fix possible crash in folder chats clearing.

This commit is contained in:
John Preston
2023-03-09 12:38:40 +04:00
parent ce5084c444
commit cc6dfd08fc
3 changed files with 8 additions and 0 deletions
+1
View File
@@ -35,6 +35,7 @@ public:
void unregisterOne(not_null<History*> history);
void oneListMessageChanged(HistoryItem *from, HistoryItem *to);
void clearChatsList();
[[nodiscard]] not_null<Dialogs::MainList*> chatsList();
void applyDialog(const MTPDdialogFolder &data);