mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
Fix null warning for space avatars
This commit is contained in:
parent
884fb74d2d
commit
847e52a6af
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue