mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-06 11:52:58 +00:00
Made discussion group open in same non-primary window as its channel.
This commit is contained in:
@@ -1354,6 +1354,8 @@ bool MainWidget::showHistoryInDifferentWindow(
|
||||
return true;
|
||||
} else if (windowId().hasChatsList()) {
|
||||
return false;
|
||||
} else if (params.preferCurrentWindow) {
|
||||
return false;
|
||||
}
|
||||
const auto account = not_null(&session().account());
|
||||
auto primary = Core::App().separateWindowFor(account);
|
||||
|
||||
Reference in New Issue
Block a user