summary refs log tree commit diff
path: root/resources/qml/TimelineEvent.qml
diff options
context:
space:
mode:
Diffstat (limited to 'resources/qml/TimelineEvent.qml')
-rw-r--r--resources/qml/TimelineEvent.qml4
1 files 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)
             }
         }
     }