Fix avatar fallback in rooms

This commit is contained in:
Nicolas Werner 2021-03-03 17:54:00 +01:00
parent 67ab204050
commit 3b4f8f2016
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -32,6 +32,7 @@ ApplicationWindow {
Avatar { Avatar {
url: roomSettings.roomAvatarUrl.replace("mxc://", "image://MxcImage/") url: roomSettings.roomAvatarUrl.replace("mxc://", "image://MxcImage/")
displayName: roomSettings.roomName
height: 130 height: 130
width: 130 width: 130
Layout.alignment: Qt.AlignHCenter Layout.alignment: Qt.AlignHCenter