mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-01 17:57:51 +00:00
Fixed hiding spoilers in captions when switching sections.
This commit is contained in:
@@ -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*>>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user