summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-03-14 02:50:44 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-03-14 02:50:44 +0100
commiteb9603f4c0a6d43c6e107a42e229991c10234091 (patch)
tree7d6a23e1a2fbe302b009153e26ea36268b4729e4
parentFix qml license headers again (diff)
downloadnheko-eb9603f4c0a6d43c6e107a42e229991c10234091.tar.xz
Fix room completions not showing label avatars
When no image is set for a room, the room didn't have the first
character in the avatar, when opening any completer, that showed it.
-rw-r--r--resources/qml/Completer.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/qml/Completer.qml b/resources/qml/Completer.qml

index 176898ca..d648553f 100644 --- a/resources/qml/Completer.qml +++ b/resources/qml/Completer.qml
@@ -198,6 +198,7 @@ Popup { Avatar { height: popup.avatarHeight width: popup.avatarWidth + displayName: model.roomName url: model.avatarUrl.replace("mxc://", "image://MxcImage/") onClicked: { popup.completionClicked(completer.completionAt(model.index)); @@ -227,6 +228,7 @@ Popup { Avatar { height: popup.avatarHeight width: popup.avatarWidth + displayName: model.roomName url: model.avatarUrl.replace("mxc://", "image://MxcImage/") onClicked: popup.completionClicked(completer.completionAt(model.index)) }