summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-12-02 03:52:48 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-12-02 03:53:12 +0100
commit943a20fc374cb36c8bea7b0624334dae5f1031e2 (patch)
tree7ca05ff5771a8523fc2ed9cc192d87d86dc45e0a
parentTranslated using Weblate (Finnish) (diff)
downloadnheko-943a20fc374cb36c8bea7b0624334dae5f1031e2.tar.xz
Navigate to subspaces by clicking on them
-rw-r--r--resources/qml/RoomList.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/resources/qml/RoomList.qml b/resources/qml/RoomList.qml

index d3cc7aee..3d17b4ae 100644 --- a/resources/qml/RoomList.qml +++ b/resources/qml/RoomList.qml
@@ -143,6 +143,10 @@ Page { ToolTip.text: roomName onClicked: { console.log("tapped " + roomId); + + if (isSpace && Communities.currentTagId != "space:"+roomId) + Communities.currentTagId = "space:"+roomId; + if (!Rooms.currentRoom || Rooms.currentRoom.roomId !== roomId) Rooms.setCurrentRoom(roomId); else