diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-10-21 04:57:21 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-10-21 04:57:21 +0200 |
commit | f8b54139f89ef21eb025defd17a5655e41fb9c03 (patch) | |
tree | a29540ddb94df59ede1700549d536536188ff2bf /plugins | |
parent | ea6f1b425a6aa9b7145a00d81473ef9508279eec (diff) |
Matrix: sort rooms by mention/unread messages
fix multiple messages being marker as mentioning us if the latest
mention is close to another mention that we have already read.
Do not go to bottom when sending a message or uploading media.
Do not scroll to bottom unless we have the last message selected, the
tab is the messages tab and the window is focused.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Matrix.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Matrix.hpp b/plugins/Matrix.hpp index a48cf69..f24a08f 100644 --- a/plugins/Matrix.hpp +++ b/plugins/Matrix.hpp @@ -74,9 +74,9 @@ namespace QuickMedia { std::string get_user_read_marker(std::shared_ptr<UserInfo> &user); // Ignores duplicates - void prepend_messages_reverse(std::vector<std::shared_ptr<Message>> new_messages); + void prepend_messages_reverse(const std::vector<std::shared_ptr<Message>> &new_messages); // Ignores duplicates - void append_messages(std::vector<std::shared_ptr<Message>> new_messages); + void append_messages(const std::vector<std::shared_ptr<Message>> &new_messages); std::shared_ptr<Message> get_message_by_id(const std::string &id); |