diff options
author | Loren Burkholder <computersemiexpert@outlook.com> | 2021-11-22 18:41:08 -0500 |
---|---|---|
committer | Loren Burkholder <computersemiexpert@outlook.com> | 2021-12-13 19:08:54 -0500 |
commit | c09c0d35b8597f93f4ee9b46c068e1aa59c59e2d (patch) | |
tree | ba3cee17b9ccd73001a35859366374c1ced6d513 /src/timeline | |
parent | Make it obvious that this is a notification and not the actual message (diff) | |
download | nheko-c09c0d35b8597f93f4ee9b46c068e1aa59c59e2d.tar.xz |
Make opening room members from rooms settings dialog work
Diffstat (limited to 'src/timeline')
-rw-r--r-- | src/timeline/RoomlistModel.h | 1 |
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(); |