diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-06-22 19:54:17 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-08-25 19:03:10 +0200 |
commit | 4d8b8c3b816528ece6274bac97d30905f77aabfb (patch) | |
tree | 44948aeab0dbab56b46a7205edcfb3003ccad3b8 /resources/qml/delegates/Reply.qml | |
parent | Merge pull request #1536 from Nheko-Reborn/issue1440 (diff) | |
download | nheko-4d8b8c3b816528ece6274bac97d30905f77aabfb.tar.xz |
Create an EventDelegateChooser
Diffstat (limited to 'resources/qml/delegates/Reply.qml')
-rw-r--r-- | resources/qml/delegates/Reply.qml | 32 |
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" } } |