aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Matrix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/Matrix.cpp')
-rw-r--r--src/plugins/Matrix.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp
index 051e951..b16b551 100644
--- a/src/plugins/Matrix.cpp
+++ b/src/plugins/Matrix.cpp
@@ -515,6 +515,7 @@ namespace QuickMedia {
}
// The event id in encrypted rooms contain the timestamp. Sort by that if possible. Such messages contain a colon.
+ // TODO: Test if this also works with construct and other homeservers
Message *last_unread_message = nullptr;
if(read_marker_message_timestamp != 0 && last_new_message->timestamp > read_marker_message_timestamp)