1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-08-03 14:25:38 +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
property real minSize: 192
property real maxSize: 256
cache: true
cache: false
fillMode: Image.PreserveAspectCrop
mipmap: true
antialiasing: true

View file

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