mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-04 16:35:44 +00:00
Fix folder updating when leaving a channel.
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user