1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-08-04 14:55:43 +02:00

misc: do not cache AnimatedImage in message delegates

Change-Id: I8448d3eb3b277be60b6223cfe1b3956c9cbc20fd
This commit is contained in:
Ming Rui Zhang 2021-10-05 16:32:43 -04:00
parent b00d61fc90
commit b3788e0082
2 changed files with 2 additions and 2 deletions

View file

@ -294,7 +294,7 @@ Loader {
anchors.right: isOutgoing ? parent.right : undefined anchors.right: isOutgoing ? parent.right : undefined
property real minSize: 192 property real minSize: 192
property real maxSize: 256 property real maxSize: 256
cache: true cache: false
fillMode: Image.PreserveAspectCrop fillMode: Image.PreserveAspectCrop
mipmap: true mipmap: true
antialiasing: true antialiasing: true

View file

@ -86,7 +86,7 @@ SBSMessageBase {
} }
AnimatedImage { AnimatedImage {
id: img id: img
cache: true cache: false
source: isRemoteImage ? source: isRemoteImage ?
LinkPreviewInfo.url : LinkPreviewInfo.url :
(hasImage ? LinkPreviewInfo.image : "") (hasImage ? LinkPreviewInfo.image : "")