Fix reply backgrounds in images

This commit is contained in:
Nicolas Werner 2023-08-26 11:10:41 +02:00
parent 55107ed0ce
commit 9ed0e887bd
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -137,6 +137,9 @@ EventDelegateChooser {
roleValues: [MtxEvent.ImageMessage, MtxEvent.Sticker,] roleValues: [MtxEvent.ImageMessage, MtxEvent.Sticker,]
ImageMessage { ImageMessage {
required property string userId
required property string userName
Layout.fillWidth: true Layout.fillWidth: true
Layout.maximumWidth: tempWidth Layout.maximumWidth: tempWidth
containerHeight: timelineView.height containerHeight: timelineView.height
@ -146,6 +149,9 @@ EventDelegateChooser {
roleValues: [MtxEvent.FileMessage,] roleValues: [MtxEvent.FileMessage,]
FileMessage { FileMessage {
required property string userId
required property string userName
Layout.fillWidth: true Layout.fillWidth: true
} }
} }
@ -153,6 +159,9 @@ EventDelegateChooser {
roleValues: [MtxEvent.VideoMessage, MtxEvent.AudioMessage,] roleValues: [MtxEvent.VideoMessage, MtxEvent.AudioMessage,]
PlayableMediaMessage { PlayableMediaMessage {
required property string userId
required property string userName
Layout.fillWidth: true Layout.fillWidth: true
} }
} }
@ -160,6 +169,9 @@ EventDelegateChooser {
roleValues: [MtxEvent.Encrypted,] roleValues: [MtxEvent.Encrypted,]
Encrypted { Encrypted {
required property string userId
required property string userName
Layout.fillWidth: true Layout.fillWidth: true
} }
} }
@ -167,6 +179,9 @@ EventDelegateChooser {
roleValues: [MtxEvent.Encryption,] roleValues: [MtxEvent.Encryption,]
EncryptionEnabled { EncryptionEnabled {
required property string userId
required property string userName
Layout.fillWidth: true Layout.fillWidth: true
} }
} }