Remove required attribute from m.room.avatar url

It is not actually required in practice.
This commit is contained in:
Jonas Platte 2022-03-08 14:20:31 +01:00
parent 4da11a99c3
commit 00787ae96b
No known key found for this signature in database
GPG key ID: BBA95679259D342F

View file

@ -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.