summary refs log tree commit diff
path: root/resources/qml/TimelineView.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-06-18 16:23:09 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2021-06-25 11:34:19 +0200
commit847e52a6afeb14c102a7ed22d028aa9b40f65acd (patch)
tree353697de2213003c2334c94fdd9fe51276e26e31 /resources/qml/TimelineView.qml
parentAdd a basic 'Space page' (diff)
downloadnheko-847e52a6afeb14c102a7ed22d028aa9b40f65acd.tar.xz
Fix null warning for space avatars
Diffstat (limited to '')
-rw-r--r--resources/qml/TimelineView.qml2
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