2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Support nice leaving of shareable folder.

This commit is contained in:
John Preston
2023-03-31 22:55:19 +04:00
parent 4444844443
commit 6be2fb9790
8 changed files with 396 additions and 79 deletions

View File

@@ -1354,6 +1354,9 @@ void Session::setupChannelLeavingViewer() {
history->removeJoinedMessage();
history->updateChatListExistence();
history->updateChatListSortPosition();
if (!history->inChatList()) {
history->clearFolder();
}
}
}
}, _lifetime);