Use replyId role for reply ID

This commit is contained in:
James Graham
2023-05-27 14:00:01 +01:00
parent 8ad23e7a40
commit 09ced090f2

View File

@@ -124,6 +124,11 @@ ColumnLayout {
*/ */
required property bool showReadMarkers required property bool showReadMarkers
/**
* @brief The matrix ID of the reply event.
*/
required property var replyId
/** /**
* @brief The reply author. * @brief The reply author.
* *
@@ -508,7 +513,7 @@ ColumnLayout {
Connections { Connections {
target: replyLoader.item target: replyLoader.item
function onReplyClicked() { function onReplyClicked() {
replyClicked(root.reply.eventId) replyClicked(root.replyId)
} }
} }
} }