aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/QuickMedia.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp
index f809b70..8fd6b0b 100644
--- a/src/QuickMedia.cpp
+++ b/src/QuickMedia.cpp
@@ -6481,6 +6481,7 @@ namespace QuickMedia {
add_new_messages_to_current_room(sync_data.messages);
modify_related_messages_in_current_room(sync_data.messages);
process_reactions(sync_data.messages);
+ has_unread_messages = false;
} else {
auto it = std::find_if(sync_data.messages.begin(), sync_data.messages.end(), [](const std::shared_ptr<Message> &message) {
return message->related_event_type == RelatedEventType::NONE || message->related_event_type == RelatedEventType::REPLY;