mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-29 14:18:49 +03:00
Make opening room members from rooms settings dialog work
This commit is contained in:
parent
95887c87db
commit
c09c0d35b8
2 changed files with 2 additions and 1 deletions
|
@ -108,7 +108,7 @@ ApplicationWindow {
|
|||
Layout.alignment: Qt.AlignHCenter
|
||||
|
||||
TapHandler {
|
||||
onTapped: TimelineManager.openRoomMembers(roomSettings.roomId)
|
||||
onSingleTapped: TimelineManager.openRoomMembers(Rooms.getRoomById(roomSettings.roomId))
|
||||
}
|
||||
|
||||
CursorShape {
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue