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