Navigate to subspaces by clicking on them
This commit is contained in:
parent
2a3492be69
commit
943a20fc37
@ -143,6 +143,10 @@ Page {
|
|||||||
ToolTip.text: roomName
|
ToolTip.text: roomName
|
||||||
onClicked: {
|
onClicked: {
|
||||||
console.log("tapped " + roomId);
|
console.log("tapped " + roomId);
|
||||||
|
|
||||||
|
if (isSpace && Communities.currentTagId != "space:"+roomId)
|
||||||
|
Communities.currentTagId = "space:"+roomId;
|
||||||
|
|
||||||
if (!Rooms.currentRoom || Rooms.currentRoom.roomId !== roomId)
|
if (!Rooms.currentRoom || Rooms.currentRoom.roomId !== roomId)
|
||||||
Rooms.setCurrentRoom(roomId);
|
Rooms.setCurrentRoom(roomId);
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user