summary refs log tree commit diff
path: root/include/RoomList.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/RoomList.h')
-rw-r--r--include/RoomList.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/RoomList.h b/include/RoomList.h
index 6b2151a2..d10cf5db 100644
--- a/include/RoomList.h
+++ b/include/RoomList.h
@@ -64,6 +64,8 @@ public:
                      const QString &room_id);
         void addInvitedRoom(const QString &room_id, const mtx::responses::InvitedRoom &room);
         void removeRoom(const QString &room_id, bool reset);
+        void setFilterRooms(bool filterRooms);
+        void setRoomFilter(QList<QString> room_ids);
 
 signals:
         void roomChanged(const QString &room_id);
@@ -105,6 +107,10 @@ private:
         QSharedPointer<dialogs::LeaveRoom> leaveRoomDialog_;
 
         QMap<QString, QSharedPointer<RoomInfoListItem>> rooms_;
+        QString selectedRoom_;
+
+        bool filterRooms_          = false;
+        QList<QString> roomFilter_ = QList<QString>(); // which rooms to include in the room list
 
         QSharedPointer<MatrixClient> client_;
         QSharedPointer<Cache> cache_;