aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Matrix.hpp4
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);