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

This commit is contained in:
Jonas Platte 2022-03-22 14:33:12 +01:00 committed by GitHub
parent b5cb9f7364
commit 17448083cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View file

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