mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02: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