mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-04 08:25:38 +00:00
@@ -2487,12 +2487,12 @@ void SessionController::showMessage(
|
||||
std::make_shared<HistoryView::ScheduledMemento>(
|
||||
item->history()),
|
||||
params);
|
||||
if (params.activation != anim::activation::background) {
|
||||
controller->window().activate();
|
||||
}
|
||||
} else {
|
||||
controller->content()->showMessage(item, params);
|
||||
}
|
||||
if (params.activation != anim::activation::background) {
|
||||
controller->window().activate();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user