diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-06-18 16:23:09 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-06-25 11:34:19 +0200 |
commit | 847e52a6afeb14c102a7ed22d028aa9b40f65acd (patch) | |
tree | 353697de2213003c2334c94fdd9fe51276e26e31 /resources/qml/TimelineView.qml | |
parent | Add a basic 'Space page' (diff) | |
download | nheko-847e52a6afeb14c102a7ed22d028aa9b40f65acd.tar.xz |
Fix null warning for space avatars
Diffstat (limited to '')
-rw-r--r-- | resources/qml/TimelineView.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml index 703f2fac..7bbb803b 100644 --- a/resources/qml/TimelineView.qml +++ b/resources/qml/TimelineView.qml @@ -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 |