mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Implement simple sub-column for topics list.
This commit is contained in:
@@ -1241,8 +1241,10 @@ void Application::closeChatFromWindows(not_null<PeerData*> peer) {
|
||||
PeerId(0),
|
||||
Window::SectionShow::Way::ClearStack);
|
||||
}
|
||||
if (primary->openedForum().current() == peer) {
|
||||
primary->closeForum();
|
||||
if (const auto forum = primary->shownForum().current()) {
|
||||
if (peer->forum() == forum) {
|
||||
primary->closeForum();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user