summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-10-09 19:32:06 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2023-10-09 19:32:06 +0200
commitfc7a1bdfba50253624b446a077fc55aa2b2eeee9 (patch)
tree142278b09bf16c082b7478f044e35828b2f977c9 /resources
parentFix CPU usage from out of frame animated images (diff)
downloadnheko-fc7a1bdfba50253624b446a077fc55aa2b2eeee9.tar.xz
Fix missing property showAcceptKnockButton
Diffstat (limited to 'resources')
-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)
             }
         }
     }