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:
@@ -1354,6 +1354,9 @@ void Session::setupChannelLeavingViewer() {
|
||||
history->removeJoinedMessage();
|
||||
history->updateChatListExistence();
|
||||
history->updateChatListSortPosition();
|
||||
if (!history->inChatList()) {
|
||||
history->clearFolder();
|
||||
}
|
||||
}
|
||||
}
|
||||
}, _lifetime);
|
||||
|
Reference in New Issue
Block a user