2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-02 23:55:12 +00:00

Allow opening new account in a separate window.

This commit is contained in:
John Preston
2023-01-27 19:56:43 +04:00
parent 42a2f53a11
commit e10964a0bc
6 changed files with 51 additions and 24 deletions

View File

@@ -1689,10 +1689,7 @@ void SessionController::showPeerHistory(
PeerId peerId,
const SectionShow &params,
MsgId msgId) {
content()->showPeerHistory(peerId, params, msgId);
if (peerId && params.activation != anim::activation::background) {
_window->activate();
}
content()->showHistory(peerId, params, msgId);
}
void SessionController::showMessage(