Clarify that the url field in `m.room.avatar` events is not required. #987)

pull/1011/head
Jonas Platte 3 years ago committed by GitHub
parent b5cb9f7364
commit 17448083cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1 @@
Clarify that the url field in `m.room.avatar` events is not required.

@ -10,10 +10,10 @@ 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 property is not present, the room has no avatar. This can be useful
to remove a previous room avatar.
type: string
required:
- url
type: object
state_key:
description: A zero-length string.

Loading…
Cancel
Save