Don't open room-specific profile in account menu
This should be your main profile, since visually and functionally this is "outside" the current room. Since the workaround is a bit estoeric, I added a comment so I remember why I did this later.
This commit is contained in:
@@ -26,7 +26,7 @@ KirigamiComponents.ConvergentContextMenu {
|
|||||||
Kirigami.Action {
|
Kirigami.Action {
|
||||||
text: i18nc("@action:button", "Open Profile")
|
text: i18nc("@action:button", "Open Profile")
|
||||||
icon.name: "im-user-symbolic"
|
icon.name: "im-user-symbolic"
|
||||||
onTriggered: RoomManager.resolveResource(root.connection.localUserId)
|
onTriggered: RoomManager.resolveResource(root.connection.localUserId, "qr") // Use "qr" action to make sure a room isn't passed, see RoomManager::visitUser
|
||||||
}
|
}
|
||||||
|
|
||||||
Kirigami.Action {
|
Kirigami.Action {
|
||||||
|
|||||||
Reference in New Issue
Block a user