mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 14:17:45 +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