diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Matrix.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Matrix.hpp b/plugins/Matrix.hpp index 0d29821..1566212 100644 --- a/plugins/Matrix.hpp +++ b/plugins/Matrix.hpp @@ -495,7 +495,7 @@ namespace QuickMedia { Matrix *matrix; Body *notifications_body; MatrixRoomsPage *all_rooms_page; - std::unordered_map<RoomData*, std::vector<std::shared_ptr<BodyItem>>> room_notifications; + std::unordered_map<std::string, std::vector<std::shared_ptr<BodyItem>>> room_notifications; }; class MatrixInviteUserPage : public Page { @@ -651,6 +651,7 @@ namespace QuickMedia { std::mutex invite_mutex; std::vector<MatrixNotification> notifications; + std::unordered_set<std::string> notifications_by_event_id; std::mutex notifications_mutex; std::thread sync_thread; |