From bb542521fbd65aed652a72a2cdc87bf8668e5438 Mon Sep 17 00:00:00 2001 From: Gary Wang Date: Fri, 30 Dec 2022 13:13:39 +0000 Subject: [PATCH] Support opening space in room list While it's not *that* useful since we cannot view all the rooms under the space, it can be useful to view all members inside a Space, and invite people to the Space. --- src/qml/Menu/SpaceListContextMenu.qml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/qml/Menu/SpaceListContextMenu.qml b/src/qml/Menu/SpaceListContextMenu.qml index 5f1bc8102..756555eb8 100644 --- a/src/qml/Menu/SpaceListContextMenu.qml +++ b/src/qml/Menu/SpaceListContextMenu.qml @@ -21,6 +21,11 @@ Loader { Component { id: regularMenu QQC2.Menu { + QQC2.MenuItem { + text: i18nc("'Space' is a matrix space", "View Space") + onTriggered: RoomManager.enterRoom(room); + } + QQC2.MenuItem { text: i18nc("@action:inmenu", "Copy Address to Clipboard") onTriggered: if (room.canonicalAlias.length === 0) {