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

@@ -46,7 +46,7 @@ ColumnLayout {
onTriggered: {
const popup = userDetailDialog.createObject(QQC2.ApplicationWindow.overlay, {
room: room,
user: room.directChatRemoteUser,
user: room.getUser(room.directChatRemoteUser.id),
})
popup.closed.connect(function() {
userListItem.highlighted = false