Fix avatar URLs for rooms

Room avatar URLs don't specify the new mxc:// format the user avatars
use, so we need to carve out a workaround for them.
This commit is contained in:
Joshua Goins
2023-08-17 16:40:15 -04:00
parent 7fe85066a4
commit 6d8c1d0780
2 changed files with 2 additions and 2 deletions

View File

@@ -71,7 +71,7 @@ QQC2.Popup {
visible: completionDelegate.iconName !== "invalid"
Layout.preferredWidth: Kirigami.Units.iconSizes.medium
Layout.preferredHeight: Kirigami.Units.iconSizes.medium
source: completionDelegate.iconName === "invalid" ? "" : ("image://" + completionDelegate.iconName)
source: completionDelegate.iconName === "invalid" ? "" : completionDelegate.iconName
name: completionDelegate.text
}
Delegates.SubtitleContentItem {