Update libqmatrixclient && fix broken avatar && fix broken image provider.
This commit is contained in:
@@ -103,12 +103,12 @@ Drawer {
|
||||
anchors.margins: 8
|
||||
spacing: 12
|
||||
|
||||
ImageStatus {
|
||||
ImageItem {
|
||||
Layout.preferredWidth: height
|
||||
Layout.fillHeight: true
|
||||
|
||||
source: avatar != "" ? "image://mxc/" + avatar : ""
|
||||
displayText: name
|
||||
image: avatar
|
||||
hint: name
|
||||
}
|
||||
|
||||
Label {
|
||||
|
||||
@@ -112,12 +112,13 @@ ApplicationWindow {
|
||||
width: parent.width
|
||||
height: width
|
||||
|
||||
ImageStatus {
|
||||
ImageItem {
|
||||
anchors.fill: parent
|
||||
anchors.margins: 12
|
||||
|
||||
// source: matriqueController.isLogin ? connection.localUser && connection.localUser.avatarUrl ? "image://mxc/" + connection.localUser.avatarUrl : "" : "qrc:/asset/img/avatar.png"
|
||||
displayText: name
|
||||
hint: name
|
||||
image: avatar
|
||||
defaultColor: Material.accent
|
||||
}
|
||||
|
||||
page: roomPage
|
||||
@@ -289,6 +290,6 @@ ApplicationWindow {
|
||||
Binding {
|
||||
target: imageProvider
|
||||
property: "connection"
|
||||
value: matriqueController.connection
|
||||
value: accountListView.currentConnection
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user