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:
@@ -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