summaryrefslogtreecommitdiffstats
path: root/resources/qml/ReplyPopup.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-08-25 20:43:04 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2023-08-25 20:43:04 +0200
commitb187440e68334b828d7271ac3d51dfd4fd24b18d (patch)
treeaa9199968eb18245357128c1e51aac598d058257 /resources/qml/ReplyPopup.qml
parentaef0cb988438a125802c90ee41032c13ef6f8fec (diff)
Reimplement reply delegate by moving out the timeline event without layout
Diffstat (limited to 'resources/qml/ReplyPopup.qml')
-rw-r--r--resources/qml/ReplyPopup.qml16
1 files changed, 1 insertions, 15 deletions
diff --git a/resources/qml/ReplyPopup.qml b/resources/qml/ReplyPopup.qml
index ce24297c..64c58e56 100644
--- a/resources/qml/ReplyPopup.qml
+++ b/resources/qml/ReplyPopup.qml
@@ -29,22 +29,8 @@ Rectangle {
anchors.rightMargin: replyPopup.width < 450 ? 2 * (22 + 16) : 3 * (22 + 16)
anchors.top: parent.top
anchors.topMargin: Nheko.paddingSmall
- blurhash: modelData.blurhash ?? ""
- body: modelData.body ?? ""
- encryptionError: modelData.encryptionError ?? 0
- eventId: modelData.eventId ?? ""
- filename: modelData.filename ?? ""
- filesize: modelData.filesize ?? ""
- formattedBody: modelData.formattedBody ?? ""
- isOnlyEmoji: modelData.isOnlyEmoji ?? false
- originalWidth: modelData.originalWidth ?? 0
- proportionalHeight: modelData.proportionalHeight ?? 1
- type: modelData.type ?? MtxEvent.UnknownMessage
- typeString: modelData.typeString ?? ""
- url: modelData.url ?? ""
+ eventId: room.reply ?? ""
userColor: TimelineManager.userColor(modelData.userId, palette.window)
- userId: modelData.userId ?? ""
- userName: modelData.userName ?? ""
visible: room && room.reply
width: parent.width
}