From 00787ae96bd3974e7c4943b3ca77e392ef665c7f Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Tue, 8 Mar 2022 14:20:31 +0100 Subject: [PATCH] Remove required attribute from m.room.avatar url It is not actually required in practice. --- data/event-schemas/schema/m.room.avatar.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/data/event-schemas/schema/m.room.avatar.yaml b/data/event-schemas/schema/m.room.avatar.yaml index 7d4b90b1..4b484f3f 100644 --- a/data/event-schemas/schema/m.room.avatar.yaml +++ b/data/event-schemas/schema/m.room.avatar.yaml @@ -10,10 +10,11 @@ properties: - $ref: core-event-schema/msgtype_infos/image_info.yaml description: Metadata about the image referred to in `url`. url: - description: The URL to the image. + description: |- + The URL to the image. + + If this isn't set, that means a previous room avatar has been unset. type: string - required: - - url type: object state_key: description: A zero-length string.