2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Track window activation history.

This commit is contained in:
John Preston
2023-02-03 20:48:12 +04:00
parent bbd937115c
commit c737e2f91b
3 changed files with 46 additions and 11 deletions

View File

@@ -1287,6 +1287,8 @@ bool MainWidget::showHistoryInDifferentWindow(
return true;
}
return false;
} else if (!peerId) {
return true;
} else if (singlePeer()->id == peerId) {
return false;
}