Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove required attribute from m.room.avatar url #987

Merged
merged 3 commits into from
Mar 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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