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
/**
* @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)
}
}
}