mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 22:27:20 +02:00
Fixed hiding spoilers in captions when switching sections.
This commit is contained in:
parent
443ca0b390
commit
021d0053be
1 changed files with 1 additions and 0 deletions
|
@ -1611,6 +1611,7 @@ void Session::unregisterShownSpoiler(FullMsgId id) {
|
|||
void Session::hideShownSpoilers() {
|
||||
for (const auto &item : _shownSpoilers) {
|
||||
item->hideSpoilers();
|
||||
requestItemTextRefresh(item);
|
||||
}
|
||||
_shownSpoilers = base::flat_set<not_null<HistoryItem*>>();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue