Fix missing property showAcceptKnockButton

This commit is contained in:
Nicolas Werner 2023-10-09 19:32:06 +02:00
parent b03bfa53e4
commit fc7a1bdfba
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -216,9 +216,9 @@ EventDelegateChooser {
Button {
Layout.alignment: Qt.AlignHCenter
text: qsTr("Allow them in")
visible: room.showAcceptKnockButton(eventId)
visible: member.room.showAcceptKnockButton(member.eventId)
onClicked: room.acceptKnock(member.eventId)
onClicked: member.room.acceptKnock(member.eventId)
}
}
}