From c525ea55ce1ed54f9fe2e3f62fb4925320e4c13e Mon Sep 17 00:00:00 2001 From: Andreas Gattringer Date: Tue, 16 Jul 2024 21:41:25 +0200 Subject: [PATCH] fix typo in PollComponent that causes polls to not be checked correctly --- src/timeline/PollComponent.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/timeline/PollComponent.qml b/src/timeline/PollComponent.qml index 6a7bd3a7f..1694e1803 100644 --- a/src/timeline/PollComponent.qml +++ b/src/timeline/PollComponent.qml @@ -52,7 +52,7 @@ ColumnLayout { delegate: RowLayout { Layout.fillWidth: true CheckBox { - checked: root.pollHandler.answers[root.room.localember.id] ? root.pollHandler.answers[root.room.localMember.id].includes(modelData["id"]) : false + checked: root.pollHandler.answers[root.room.localMember.id] ? root.pollHandler.answers[root.room.localMember.id].includes(modelData["id"]) : false onClicked: root.pollHandler.sendPollAnswer(root.eventId, modelData["id"]) enabled: !root.pollHandler.hasEnded }