Clarify MXC URI string formats in m.image msgtype

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

View file

@ -23,6 +23,8 @@ properties:
The URL (typically [`mxc://` URI](/client-server-api/#matrix-content-mxc-uris)) to a thumbnail of the image.
Only present if the thumbnail is unencrypted.
type: string
format: mx-mxc-uri
pattern: "^mxc:\\/\\/"
thumbnail_file:
description: |-
Information on the encrypted thumbnail file, as specified in

View file

@ -44,6 +44,8 @@ properties:
Required if the file is unencrypted. The URL (typically [`mxc://` URI](/client-server-api/#matrix-content-mxc-uris))
to the image.
type: string
format: mx-mxc-uri
pattern: "^mxc:\\/\\/"
file:
description: |-
Required if the file is encrypted. Information on the encrypted