mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
Hide shared media layer on jump to message in topic.
This commit is contained in:
@@ -1576,6 +1576,9 @@ void MainWidget::showSection(
|
|||||||
if (_mainSection && _mainSection->showInternal(
|
if (_mainSection && _mainSection->showInternal(
|
||||||
memento.get(),
|
memento.get(),
|
||||||
params)) {
|
params)) {
|
||||||
|
if (params.activation != anim::activation::background) {
|
||||||
|
_controller->window().hideSettingsAndLayer();
|
||||||
|
}
|
||||||
if (const auto entry = _mainSection->activeChat(); entry.key) {
|
if (const auto entry = _mainSection->activeChat(); entry.key) {
|
||||||
_controller->setActiveChatEntry(entry);
|
_controller->setActiveChatEntry(entry);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user