summary refs log tree commit diff
path: root/resources/qml/delegates/Reply.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-06-22 19:54:17 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2023-08-25 19:03:10 +0200
commit4d8b8c3b816528ece6274bac97d30905f77aabfb (patch)
tree44948aeab0dbab56b46a7205edcfb3003ccad3b8 /resources/qml/delegates/Reply.qml
parentMerge pull request #1536 from Nheko-Reborn/issue1440 (diff)
downloadnheko-4d8b8c3b816528ece6274bac97d30905f77aabfb.tar.xz
Create an EventDelegateChooser
Diffstat (limited to 'resources/qml/delegates/Reply.qml')
-rw-r--r--resources/qml/delegates/Reply.qml32
1 files changed, 3 insertions, 29 deletions
diff --git a/resources/qml/delegates/Reply.qml b/resources/qml/delegates/Reply.qml
index 4d4983ac..64eb65a3 100644
--- a/resources/qml/delegates/Reply.qml
+++ b/resources/qml/delegates/Reply.qml
@@ -95,37 +95,11 @@ AbstractButton {
             onClicked: room.openUserProfile(userId)
         }
 
-        MessageDelegate {
+        Rectangle {
             Layout.leftMargin: 4
-            Layout.preferredHeight: height
-            id: reply
-            blurhash: r.blurhash
-            body: r.body
-            formattedBody: r.formattedBody
-            eventId: r.eventId
-            filename: r.filename
-            filesize: r.filesize
-            proportionalHeight: r.proportionalHeight
-            type: r.type
-            typeString: r.typeString ?? ""
-            url: r.url
-            thumbnailUrl: r.thumbnailUrl
-            duration: r.duration
-            originalWidth: r.originalWidth
-            isOnlyEmoji: r.isOnlyEmoji
-            isStateEvent: r.isStateEvent
-            userId: r.userId
-            userName: r.userName
-            roomTopic: r.roomTopic
-            roomName: r.roomName
-            callType: r.callType
-            relatedEventCacheBuster: r.relatedEventCacheBuster
-            encryptionError: r.encryptionError
-            // This is disabled so that left clicking the reply goes to its location
-            enabled: false
+            Layout.preferredHeight: 20
             Layout.fillWidth: true
-            isReply: true
-            keepFullText: r.keepFullText
+            color: "green"
         }
 
     }