mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-06-14 04:07:47 +02:00
Clarify MXC URI string formats in m.room.avatar
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
53d324c15b
commit
641214a37f
|
|
@ -22,6 +22,8 @@ properties:
|
||||||
description: |-
|
description: |-
|
||||||
The URL (typically [`mxc://` URI](/client-server-api/#matrix-content-mxc-uris)) to a thumbnail of the image.
|
The URL (typically [`mxc://` URI](/client-server-api/#matrix-content-mxc-uris)) to a thumbnail of the image.
|
||||||
type: string
|
type: string
|
||||||
|
format: mx-mxc-uri
|
||||||
|
pattern: "^mxc:\\/\\/"
|
||||||
thumbnail_info:
|
thumbnail_info:
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: thumbnail_info.yaml
|
- $ref: thumbnail_info.yaml
|
||||||
|
|
|
||||||
|
|
@ -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
|
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.
|
to remove a previous room avatar.
|
||||||
type: string
|
type: string
|
||||||
|
format: mx-mxc-uri
|
||||||
|
pattern: "^mxc:\\/\\/"
|
||||||
type: object
|
type: object
|
||||||
state_key:
|
state_key:
|
||||||
description: A zero-length string.
|
description: A zero-length string.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue