summary refs log tree commit diff
path: root/src/timeline
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2021-11-22 18:41:08 -0500
committerLoren Burkholder <computersemiexpert@outlook.com>2021-12-13 19:08:54 -0500
commitc09c0d35b8597f93f4ee9b46c068e1aa59c59e2d (patch)
treeba3cee17b9ccd73001a35859366374c1ced6d513 /src/timeline
parentMake it obvious that this is a notification and not the actual message (diff)
downloadnheko-c09c0d35b8597f93f4ee9b46c068e1aa59c59e2d.tar.xz
Make opening room members from rooms settings dialog work
Diffstat (limited to 'src/timeline')
-rw-r--r--src/timeline/RoomlistModel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/timeline/RoomlistModel.h b/src/timeline/RoomlistModel.h
index 5d0bcd53..bfd640fd 100644
--- a/src/timeline/RoomlistModel.h
+++ b/src/timeline/RoomlistModel.h
@@ -170,6 +170,7 @@ public slots:
     RoomPreview currentRoomPreview() const { return roomlistmodel->currentRoomPreview(); }
     void setCurrentRoom(QString roomid) { roomlistmodel->setCurrentRoom(std::move(roomid)); }
     void resetCurrentRoom() { roomlistmodel->resetCurrentRoom(); }
+    TimelineModel *getRoomById(const QString &id) const { return roomlistmodel->getRoomById(id).data(); }
 
     void nextRoomWithActivity();
     void nextRoom();