Visit User

Move to using visit user in all cases.
This commit is contained in:
James Graham
2023-08-27 19:05:55 +00:00
parent f5ad2ad162
commit 50e8b9ebf6
7 changed files with 21 additions and 57 deletions

View File

@@ -375,10 +375,7 @@ ColumnLayout {
MouseArea {
anchors.fill: parent
onClicked: {
userDetailDialog.createObject(QQC2.ApplicationWindow.overlay, {
room: currentRoom,
user: root.author
}).open();
RoomManager.visitUser(root.author.object, "mention")
}
cursorShape: Qt.PointingHandCursor
}
@@ -459,10 +456,7 @@ ColumnLayout {
anchors.fill: parent
cursorShape: Qt.PointingHandCursor
onClicked: {
userDetailDialog.createObject(QQC2.ApplicationWindow.overlay, {
room: currentRoom,
user: root.author
}).open();
RoomManager.visitUser(root.author.object, "mention")
}
}
}