aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-08-19 17:56:55 +0200
committerdec05eba <dec05eba@protonmail.com>2021-08-19 17:56:55 +0200
commit40909b91afb18a1195031e3f570be0c38b58d127 (patch)
treea4a8dbbcc33ae7fd9df46f203c8fed4262975490 /src
parent4ff87535e7aae35bfbd66fe88402dcb513af249c (diff)
Sneed unread messages for afgter token
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;