mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +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() {
|
void Session::hideShownSpoilers() {
|
||||||
for (const auto &item : _shownSpoilers) {
|
for (const auto &item : _shownSpoilers) {
|
||||||
item->hideSpoilers();
|
item->hideSpoilers();
|
||||||
|
requestItemTextRefresh(item);
|
||||||
}
|
}
|
||||||
_shownSpoilers = base::flat_set<not_null<HistoryItem*>>();
|
_shownSpoilers = base::flat_set<not_null<HistoryItem*>>();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user