mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Don't reopen forum on opening a link.
This commit is contained in:
@@ -572,7 +572,8 @@ void SessionNavigation::showPeerByLinkResolved(
|
||||
const auto controller = parentController();
|
||||
if (const auto forum = peer->forum()) {
|
||||
if (controller->windowId().hasChatsList()
|
||||
&& !controller->adaptive().isOneColumn()) {
|
||||
&& !controller->adaptive().isOneColumn()
|
||||
&& controller->shownForum().current() != forum) {
|
||||
controller->showForum(forum);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user