aboutsummaryrefslogtreecommitdiff
path: root/src/QuickMedia.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-01-12 22:54:07 +0100
committerdec05eba <dec05eba@protonmail.com>2023-01-12 23:04:58 +0100
commit3bfa7ea4beac7710ac5484c46ce181027131ebf8 (patch)
tree6b54dedf9c38d498062e796fc2b7d9e22c59bd8d /src/QuickMedia.cpp
parentd0c13982cba9a3d04f0d3f4d2178b244c9b61ce9 (diff)
Matrix: do not trust synapse when it comes to unread messages
Diffstat (limited to 'src/QuickMedia.cpp')
-rw-r--r--src/QuickMedia.cpp1
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?