Downloaded files: include title + ext in filename
This commit is contained in:
@@ -14,6 +14,7 @@ Rectangle {
|
||||
|
||||
HRoomAvatar {
|
||||
id: avatar
|
||||
roomId: chat.roomId
|
||||
displayName: chat.roomInfo.display_name
|
||||
mxc: chat.roomInfo.avatar_url
|
||||
Layout.alignment: Qt.AlignTop
|
||||
|
@@ -55,6 +55,7 @@ HBox {
|
||||
|
||||
HRoomAvatar {
|
||||
id: avatar
|
||||
roomId: chat.roomId
|
||||
displayName: chat.roomInfo.display_name
|
||||
mxc: chat.roomInfo.avatar_url
|
||||
// enabled: chat.roomInfo.can_set_avatar # put this in "change avatar"
|
||||
|
@@ -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
|
||||
|
@@ -85,6 +85,7 @@ HLoader {
|
||||
|
||||
const args = [
|
||||
loader.mediaUrl,
|
||||
loader.title,
|
||||
JSON.parse(loader.singleMediaInfo.media_crypt_dict)
|
||||
]
|
||||
|
||||
|
Reference in New Issue
Block a user