mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-20 16:38:37 +01:00
Clarify that the url field in m.room.avatar events is not required. #987)
This commit is contained in:
parent
b5cb9f7364
commit
17448083cf
1
changelogs/client_server/newsfragments/987.clarification
Normal file
1
changelogs/client_server/newsfragments/987.clarification
Normal file
|
|
@ -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
|
- $ref: core-event-schema/msgtype_infos/image_info.yaml
|
||||||
description: Metadata about the image referred to in `url`.
|
description: Metadata about the image referred to in `url`.
|
||||||
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
|
type: string
|
||||||
required:
|
|
||||||
- url
|
|
||||||
type: object
|
type: object
|
||||||
state_key:
|
state_key:
|
||||||
description: A zero-length string.
|
description: A zero-length string.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue