Skip to content

Commit

Permalink
Clarify that the url field in m.room.avatar events is not required. #…
Browse files Browse the repository at this point in the history
  • Loading branch information
jplatte committed Mar 22, 2022
1 parent b5cb9f7 commit 1744808
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/987.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Clarify that the url field in `m.room.avatar` events is not required.
6 changes: 3 additions & 3 deletions data/event-schemas/schema/m.room.avatar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 1744808

Please sign in to comment.