diff options
Diffstat (limited to 'src/timeline/RoomlistModel.h')
-rw-r--r-- | src/timeline/RoomlistModel.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/timeline/RoomlistModel.h b/src/timeline/RoomlistModel.h index 9546d434..43713d8b 100644 --- a/src/timeline/RoomlistModel.h +++ b/src/timeline/RoomlistModel.h @@ -89,6 +89,7 @@ public: else return {}; } + RoomPreview getRoomPreviewById(QString roomid) const; public slots: void initializeRooms(); @@ -185,6 +186,10 @@ public slots: { return roomlistmodel->getRoomById(id).data(); } + RoomPreview getRoomPreviewById(QString roomid) const + { + return roomlistmodel->getRoomPreviewById(roomid); + } void nextRoomWithActivity(); void nextRoom(); |