mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-05 09:05:14 +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