mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Update all messages in case of chat reactions toggle.
This commit is contained in:
@@ -2965,6 +2965,16 @@ void History::removeJoinedMessage() {
|
||||
}
|
||||
}
|
||||
|
||||
void History::reactionsEnabledChanged(bool enabled) {
|
||||
if (!enabled) {
|
||||
for (const auto &item : _messages) {
|
||||
item->updateReactions(nullptr);
|
||||
}
|
||||
} else {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
bool History::isEmpty() const {
|
||||
return blocks.empty();
|
||||
}
|
||||
|
Reference in New Issue
Block a user