Clarify MXC URI string formats in m.room.avatar

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
Kévin Commaille 2026-05-01 08:22:53 +02:00
parent 53d324c15b
commit 641214a37f
No known key found for this signature in database
GPG key ID: F26F4BE20A08255B
2 changed files with 4 additions and 0 deletions

View file

@ -22,6 +22,8 @@ properties:
description: |-
The URL (typically [`mxc://` URI](/client-server-api/#matrix-content-mxc-uris)) to a thumbnail of the image.
type: string
format: mx-mxc-uri
pattern: "^mxc:\\/\\/"
thumbnail_info:
allOf:
- $ref: thumbnail_info.yaml

View file

@ -16,6 +16,8 @@ properties:
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
format: mx-mxc-uri
pattern: "^mxc:\\/\\/"
type: object
state_key:
description: A zero-length string.