mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix folder updating when leaving a channel.
This commit is contained in:
parent
bf388d8a37
commit
63c2db30f2
1 changed files with 1 additions and 0 deletions
|
@ -1176,6 +1176,7 @@ void Session::deleteConversationLocally(not_null<PeerData*> peer) {
|
||||||
setChatPinned(history, FilterId(), false);
|
setChatPinned(history, FilterId(), false);
|
||||||
}
|
}
|
||||||
removeChatListEntry(history);
|
removeChatListEntry(history);
|
||||||
|
history->clearFolder();
|
||||||
history->clear(peer->isChannel()
|
history->clear(peer->isChannel()
|
||||||
? History::ClearType::Unload
|
? History::ClearType::Unload
|
||||||
: History::ClearType::DeleteChat);
|
: History::ClearType::DeleteChat);
|
||||||
|
|
Loading…
Add table
Reference in a new issue