From fc7a1bdfba50253624b446a077fc55aa2b2eeee9 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Mon, 9 Oct 2023 19:32:06 +0200 Subject: [PATCH] Fix missing property showAcceptKnockButton --- resources/qml/TimelineEvent.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) } } }