mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Add "Translate Entire Chat" button to Settings.
This commit is contained in:
@@ -1278,7 +1278,7 @@ bool MainWidget::showHistoryInDifferentWindow(
|
||||
} else if (isPrimary()) {
|
||||
const auto primary = Core::App().separateWindowForAccount(
|
||||
&peer->account());
|
||||
if (primary != &_controller->window()) {
|
||||
if (primary && primary != &_controller->window()) {
|
||||
primary->sessionController()->showPeerHistory(
|
||||
peerId,
|
||||
params,
|
||||
|
Reference in New Issue
Block a user