2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-02 15:45:12 +00:00

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

View File

@@ -1276,6 +1276,7 @@ void MainWidget::ui_showPeerHistory(
if (IsServerMsgId(showAtMsgId)
&& _mainSection
&& _mainSection->showMessage(peerId, params, showAtMsgId)) {
session().data().hideShownSpoilers();
return;
}