Added behavior to hide spoilers when switching sections.

This commit is contained in:
23rd
2021-12-29 18:26:25 +03:00
committed by John Preston
parent a381439e3e
commit 3aacae2cb2
11 changed files with 54 additions and 0 deletions
+1
View File
@@ -1276,6 +1276,7 @@ void MainWidget::ui_showPeerHistory(
if (IsServerMsgId(showAtMsgId)
&& _mainSection
&& _mainSection->showMessage(peerId, params, showAtMsgId)) {
session().data().hideShownSpoilers();
return;
}