diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Matrix.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Matrix.hpp b/plugins/Matrix.hpp index 9f58b24..3cb974f 100644 --- a/plugins/Matrix.hpp +++ b/plugins/Matrix.hpp @@ -123,6 +123,8 @@ namespace QuickMedia { using RoomSyncMessages = std::unordered_map<std::shared_ptr<RoomData>, Messages>; using Rooms = std::vector<std::shared_ptr<RoomData>>; + bool message_contains_user_mention(const std::string &msg, const std::string &username); + class Matrix { public: PluginResult sync(RoomSyncMessages &room_messages); |