Improve separate window support.

This commit is contained in:
John Preston
2025-05-30 18:33:47 +04:00
parent 50b761fab2
commit 6068678fa1
7 changed files with 31 additions and 29 deletions
@@ -1877,8 +1877,7 @@ void SessionController::showForum(
const SectionShow &params) {
if (showForumInDifferentWindow(forum, params)) {
return;
} else if (HistoryView::SubsectionTabs::UsedFor(
forum->owner().history(forum->channel()))) {
} else if (forum->channel()->useSubsectionTabs()) {
showPeerHistory(forum->channel(), params);
return;
}