Merge branch 'master' into kf6

This commit is contained in:
Tobias Fella
2023-08-27 21:49:53 +02:00
9 changed files with 23 additions and 59 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 {}
}
}