diff options
author | dec05eba <dec05eba@protonmail.com> | 2023-01-12 22:54:07 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-01-12 23:04:58 +0100 |
commit | 3bfa7ea4beac7710ac5484c46ce181027131ebf8 (patch) | |
tree | 6b54dedf9c38d498062e796fc2b7d9e22c59bd8d /src/QuickMedia.cpp | |
parent | d0c13982cba9a3d04f0d3f4d2178b244c9b61ce9 (diff) |
Matrix: do not trust synapse when it comes to unread messages
Diffstat (limited to 'src/QuickMedia.cpp')
-rw-r--r-- | src/QuickMedia.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp index 9e360b7..c2b2b95 100644 --- a/src/QuickMedia.cpp +++ b/src/QuickMedia.cpp @@ -7788,7 +7788,6 @@ namespace QuickMedia { current_room->body_item->set_title_color(get_theme().text_color); current_room->last_message_read = true; // TODO: Maybe set this instead when the mention is visible on the screen? - current_room->unread_notification_count = 0; Message *read_message = get_latest_message_in_edit_chain(static_cast<Message*>(body_items[last_timeline_message]->userdata)); // TODO: What if two messages have the same timestamp? |