From eb9603f4c0a6d43c6e107a42e229991c10234091 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sun, 14 Mar 2021 02:50:44 +0100 Subject: [PATCH] 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. --- resources/qml/Completer.qml | 2 ++ 1 file changed, 2 insertions(+) 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)) }