mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-06-13 19:57: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: |-
|
||||
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
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue