Skip to content
Snippets Groups Projects
Verified Commit eb9603f4 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

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.
parent 05c636a8
No related branches found
No related tags found
No related merge requests found
Pipeline #872 passed
......@@ -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))
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment