Fix room members dialog opening room member dialog of the wrong room

This commit is contained in:
Nicolas Werner 2022-07-30 16:47:46 +02:00
parent db43743697
commit 18f4f4351a
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -118,7 +118,7 @@ ApplicationWindow {
delegate: ItemDelegate { delegate: ItemDelegate {
id: del id: del
onClicked: Rooms.currentRoom.openUserProfile(model.mxid) onClicked: room.openUserProfile(model.mxid)
padding: Nheko.paddingMedium padding: Nheko.paddingMedium
width: ListView.view.width width: ListView.view.width
height: memberLayout.implicitHeight + Nheko.paddingSmall * 2 height: memberLayout.implicitHeight + Nheko.paddingSmall * 2