mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Hide shared media layer when jumping to message.
This commit is contained in:
@@ -1528,6 +1528,7 @@ void MainWidget::showMessage(
|
||||
if (_mainSection->showMessage(peerId, params, itemId)) {
|
||||
if (params.activation != anim::activation::background) {
|
||||
_controller->window().activate();
|
||||
_controller->window().hideSettingsAndLayer();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user