Download and show full picture for m.image GIFs

This commit is contained in:
miruka
2019-11-04 10:29:41 -04:00
parent 02c6ec4500
commit ca09effd6e
2 changed files with 7 additions and 5 deletions

View File

@@ -10,7 +10,8 @@ HMxcImage {
animated: loader.singleMediaInfo.media_mime === "image/gif" ||
Utils.urlExtension(loader.mediaUrl) === "gif"
clientUserId: chatPage.userId
mxc: animated ? openUrl : (loader.thumbnailMxc || loader.mediaUrl)
thumbnail: ! animated
mxc: thumbnail ? (loader.thumbnailMxc || loader.mediaUrl) : openUrl
property EventMediaLoader loader