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

@@ -189,7 +189,22 @@ Kirigami.Page {
banner.visible = true;
}
Connections {
target: RoomManager
function onShowUserDetail(user) {
root.showUserDetail(user)
}
}
function showUserDetail(user) {
timelineViewLoader.item.showUserDetail(user)
userDetailDialog.createObject(QQC2.ApplicationWindow.overlay, {
room: root.currentRoom,
user: root.currentRoom.getUser(user.id),
}).open();
}
Component {
id: userDetailDialog
UserDetailDialog {}
}
}