From f7bbe6ae28a137b7aefc3867c9d5ec1a2b7389a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Fri, 1 May 2026 08:37:15 +0200 Subject: [PATCH] Clarrify MXC URI string format in m.audio msgtype MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Kévin Commaille --- data/event-schemas/schema/m.room.message$m.audio.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/data/event-schemas/schema/m.room.message$m.audio.yaml b/data/event-schemas/schema/m.room.message$m.audio.yaml index a1116c59..d138de38 100644 --- a/data/event-schemas/schema/m.room.message$m.audio.yaml +++ b/data/event-schemas/schema/m.room.message$m.audio.yaml @@ -54,6 +54,8 @@ properties: Required if the file is unencrypted. The URL (typically [`mxc://` URI](/client-server-api/#matrix-content-mxc-uris)) to the audio clip. type: string + format: mx-mxc-uri + pattern: "^mxc:\\/\\/" file: description: |- Required if the file is encrypted. Information on the encrypted