From c09c0d35b8597f93f4ee9b46c068e1aa59c59e2d Mon Sep 17 00:00:00 2001 From: Loren Burkholder Date: Mon, 22 Nov 2021 18:41:08 -0500 Subject: Make opening room members from rooms settings dialog work --- src/timeline/RoomlistModel.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/timeline') 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(); -- cgit 1.4.1