aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Matrix.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-02-09 12:12:10 +0100
committerdec05eba <dec05eba@protonmail.com>2021-02-09 12:12:10 +0100
commit02071aa486675ab521d180adbdc830bedb17ffa2 (patch)
treecd383019452f348b11e33c54a11c0af26a6369e2 /src/plugins/Matrix.cpp
parent1fe091011c397d7b5ce5c3a6409b2351a791fa20 (diff)
Matrix: select first room on selection
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)