Downloaded files: include title + ext in filename

This commit is contained in:
miruka
2020-03-09 11:46:08 -04:00
parent bd7b45cc7a
commit 7ee83c5fe4
11 changed files with 45 additions and 13 deletions

View File

@@ -9,6 +9,7 @@ HMxcImage {
height: fitSize.height
horizontalAlignment: Image.AlignLeft
title: loader.title
animated: loader.singleMediaInfo.media_mime === "image/gif" ||
utils.urlExtension(loader.mediaUrl).toLowerCase() === "gif"
thumbnail: ! animated && loader.thumbnailMxc

View File

@@ -85,6 +85,7 @@ HLoader {
const args = [
loader.mediaUrl,
loader.title,
JSON.parse(loader.singleMediaInfo.media_crypt_dict)
]