diff --git a/resources/qml/TimelineEvent.qml b/resources/qml/TimelineEvent.qml index 5120fd12..7e60328d 100644 --- a/resources/qml/TimelineEvent.qml +++ b/resources/qml/TimelineEvent.qml @@ -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) } } }