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

Fix null warning for space avatars

parent 884fb74d
No related branches found
No related tags found
No related merge requests found
......@@ -138,7 +138,7 @@ Item {
spacing: Nheko.paddingLarge
Avatar {
url: room.roomAvatarUrl.replace("mxc://", "image://MxcImage/")
url: room ? room.roomAvatarUrl.replace("mxc://", "image://MxcImage/") : ""
displayName: room ? room.roomName : ""
height: 130
width: 130
......
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