summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
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
         }
     }