From c23b5337047253209bb0400e2e6d060acf7a6dfe Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 31 Dec 2024 16:44:22 +0400 Subject: [PATCH] Hide shared media layer when jumping to message. --- Telegram/SourceFiles/mainwidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Telegram/SourceFiles/mainwidget.cpp b/Telegram/SourceFiles/mainwidget.cpp index 5cd766f03..8938d5af4 100644 --- a/Telegram/SourceFiles/mainwidget.cpp +++ b/Telegram/SourceFiles/mainwidget.cpp @@ -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; }