summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-08-26 11:10:41 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2023-08-26 11:10:41 +0200
commit9ed0e887bd1552f4fcf61be7c265c748932bdca5 (patch)
tree954c35b3fe8a62d84a1d04e97da2b658870953e6 /resources
parentFix some reply layouting loops (diff)
downloadnheko-9ed0e887bd1552f4fcf61be7c265c748932bdca5.tar.xz
Fix reply backgrounds in images
Diffstat (limited to 'resources')
-rw-r--r--resources/qml/TimelineEvent.qml15
1 files changed, 15 insertions, 0 deletions
diff --git a/resources/qml/TimelineEvent.qml b/resources/qml/TimelineEvent.qml
index 787fb7dc..30ec27b2 100644
--- a/resources/qml/TimelineEvent.qml
+++ b/resources/qml/TimelineEvent.qml
@@ -137,6 +137,9 @@ EventDelegateChooser {
         roleValues: [MtxEvent.ImageMessage, MtxEvent.Sticker,]
 
         ImageMessage {
+            required property string userId
+            required property string userName
+
             Layout.fillWidth: true
             Layout.maximumWidth: tempWidth
             containerHeight: timelineView.height
@@ -146,6 +149,9 @@ EventDelegateChooser {
         roleValues: [MtxEvent.FileMessage,]
 
         FileMessage {
+            required property string userId
+            required property string userName
+
             Layout.fillWidth: true
         }
     }
@@ -153,6 +159,9 @@ EventDelegateChooser {
         roleValues: [MtxEvent.VideoMessage, MtxEvent.AudioMessage,]
 
         PlayableMediaMessage {
+            required property string userId
+            required property string userName
+
             Layout.fillWidth: true
         }
     }
@@ -160,6 +169,9 @@ EventDelegateChooser {
         roleValues: [MtxEvent.Encrypted,]
 
         Encrypted {
+            required property string userId
+            required property string userName
+
             Layout.fillWidth: true
         }
     }
@@ -167,6 +179,9 @@ EventDelegateChooser {
         roleValues: [MtxEvent.Encryption,]
 
         EncryptionEnabled {
+            required property string userId
+            required property string userName
+
             Layout.fillWidth: true
         }
     }