download/thumbnail don't need authentification

This commit is contained in:
miruka
2019-11-12 09:10:00 -04:00
parent 4cc2ebf6e3
commit 73541ad7a5
18 changed files with 74 additions and 65 deletions

View File

@@ -58,7 +58,6 @@ HGridLayout {
property bool changed: Boolean(sourceOverride)
id: avatar
clientUserId: accountSettings.userId
userId: accountSettings.userId
displayName: nameField.field.text
mxc: accountInfo.avatar_url

View File

@@ -55,7 +55,6 @@ HBox {
HRoomAvatar {
id: avatar
clientUserId: userId
displayName: nameField.text
Layout.alignment: Qt.AlignCenter

View File

@@ -2,8 +2,7 @@ import QtQuick 2.12
import "../../Base"
HUserAvatar {
clientUserId: addChatPage.userId
userId: clientUserId
userId: addChatPage.userId
displayName: addChatPage.account ? addChatPage.account.display_name : ""
mxc: addChatPage.account ? addChatPage.account.avatar_url : ""
}