From 09ced090f2ea195a53a1109fa8709a72065a367d Mon Sep 17 00:00:00 2001 From: James Graham Date: Sat, 27 May 2023 14:00:01 +0100 Subject: [PATCH] Use replyId role for reply ID --- src/qml/Component/Timeline/TimelineContainer.qml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/qml/Component/Timeline/TimelineContainer.qml b/src/qml/Component/Timeline/TimelineContainer.qml index 80b77a0d1..6f9bf37b2 100644 --- a/src/qml/Component/Timeline/TimelineContainer.qml +++ b/src/qml/Component/Timeline/TimelineContainer.qml @@ -124,6 +124,11 @@ ColumnLayout { */ required property bool showReadMarkers + /** + * @brief The matrix ID of the reply event. + */ + required property var replyId + /** * @brief The reply author. * @@ -508,7 +513,7 @@ ColumnLayout { Connections { target: replyLoader.item function onReplyClicked() { - replyClicked(root.reply.eventId) + replyClicked(root.replyId) } } }