getUser UserDetailDialog

Use `NeoChatRoom::getUser` to provide the user properties in `UserDetailDialog`
This commit is contained in:
James Graham
2023-05-29 13:43:24 +00:00
parent 3b5bb06b4a
commit 4e40f5c7d9
5 changed files with 27 additions and 33 deletions

View File

@@ -398,7 +398,7 @@ QQC2.ScrollView {
function showUserDetail(user) {
userDetailDialog.createObject(QQC2.ApplicationWindow.overlay, {
room: root.currentRoom,
user: user,
user: root.currentRoom.getUser(user.id),
}).open();
}