From 937caddacd628e823ab077507611a60bf823c894 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Tue, 21 Nov 2017 17:34:32 +0200 Subject: Keep track of newly joined rooms in the settings manager fixes #134 --- include/RoomList.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/RoomList.h b/include/RoomList.h index df668ac6..f1653a38 100644 --- a/include/RoomList.h +++ b/include/RoomList.h @@ -44,11 +44,12 @@ public: void setInitialRooms(const QMap> &settings, const QMap &states); - void sync(const QMap &states); + void sync(const QMap &states, + QMap> &settings); void clear(); - void addRoom(const QSharedPointer &settings, + void addRoom(const QMap> &settings, const RoomState &state, const QString &room_id); void removeRoom(const QString &room_id, bool reset); -- cgit 1.4.1