diff options
Diffstat (limited to 'include/RoomList.h')
-rw-r--r-- | include/RoomList.h | 5 |
1 files changed, 3 insertions, 2 deletions
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<QString, QSharedPointer<RoomSettings>> &settings, const QMap<QString, RoomState> &states); - void sync(const QMap<QString, RoomState> &states); + void sync(const QMap<QString, RoomState> &states, + QMap<QString, QSharedPointer<RoomSettings>> &settings); void clear(); - void addRoom(const QSharedPointer<RoomSettings> &settings, + void addRoom(const QMap<QString, QSharedPointer<RoomSettings>> &settings, const RoomState &state, const QString &room_id); void removeRoom(const QString &room_id, bool reset); |