diff options
author | Max Sandholm <max@sandholm.org> | 2017-10-01 19:49:36 +0300 |
---|---|---|
committer | mujx <mujx@users.noreply.github.com> | 2017-10-01 19:49:36 +0300 |
commit | 7ad45d8d6448c60b4c81c80fa8d6d81afd6e4a02 (patch) | |
tree | 821124200c7dac85128790115d527791c1fc4945 /include/TimelineViewManager.h | |
parent | More badges (diff) | |
download | nheko-7ad45d8d6448c60b4c81c80fa8d6d81afd6e4a02.tar.xz |
React to externally left and joined rooms, and add "leave room" button in room menu (#75)
* Initial "join room" feature. * React correctly to remotely joined rooms. * Leaving rooms implemented both locally using the room menu in nheko, and reacting properly when leaving a room remotely from another client.
Diffstat (limited to 'include/TimelineViewManager.h')
-rw-r--r-- | include/TimelineViewManager.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/TimelineViewManager.h b/include/TimelineViewManager.h index 14f47928..35dcac5a 100644 --- a/include/TimelineViewManager.h +++ b/include/TimelineViewManager.h @@ -40,6 +40,10 @@ public: void initialize(const Rooms &rooms); // Empty initialization. void initialize(const QList<QString> &rooms); + + void addRoom(const JoinedRoom &room, const QString &room_id); + void addRoom(const QString &room_id); + void sync(const Rooms &rooms); void clearAll(); |