mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
Added behavior to hide spoilers when switching sections.
This commit is contained in:
@@ -1276,6 +1276,7 @@ void MainWidget::ui_showPeerHistory(
|
||||
if (IsServerMsgId(showAtMsgId)
|
||||
&& _mainSection
|
||||
&& _mainSection->showMessage(peerId, params, showAtMsgId)) {
|
||||
session().data().hideShownSpoilers();
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user