From 515279709a671f8da42d5c3487befea7fc4ab3a2 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Fri, 12 Jun 2026 15:41:05 +0100 Subject: [PATCH] Links to EncryptedFile --- .../schema/core-event-schema/msgtype_infos/image_info.yaml | 3 +-- data/event-schemas/schema/m.room.message$m.audio.yaml | 4 +--- data/event-schemas/schema/m.room.message$m.file.yaml | 7 ++----- data/event-schemas/schema/m.room.message$m.image.yaml | 4 +--- data/event-schemas/schema/m.room.message$m.location.yaml | 3 +-- data/event-schemas/schema/m.room.message$m.video.yaml | 7 ++----- 6 files changed, 8 insertions(+), 20 deletions(-) diff --git a/data/event-schemas/schema/core-event-schema/msgtype_infos/image_info.yaml b/data/event-schemas/schema/core-event-schema/msgtype_infos/image_info.yaml index 42e4540d..c19eca15 100644 --- a/data/event-schemas/schema/core-event-schema/msgtype_infos/image_info.yaml +++ b/data/event-schemas/schema/core-event-schema/msgtype_infos/image_info.yaml @@ -27,8 +27,7 @@ properties: pattern: "^mxc:\\/\\/" thumbnail_file: description: |- - Information on the encrypted thumbnail file, as specified in - [End-to-end encryption](/client-server-api/#sending-encrypted-attachments). + An [EncryptedFile](/client-server-api/#definition-encryptedfile) structure. Only present if the thumbnail is encrypted. title: EncryptedFile type: object 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 d138de38..462933c9 100644 --- a/data/event-schemas/schema/m.room.message$m.audio.yaml +++ b/data/event-schemas/schema/m.room.message$m.audio.yaml @@ -58,9 +58,7 @@ properties: pattern: "^mxc:\\/\\/" file: description: |- - Required if the file is encrypted. Information on the encrypted - file, as specified in - [End-to-end encryption](/client-server-api/#sending-encrypted-attachments). + Required if the file is encrypted. An [EncryptedFile](/client-server-api/#definition-encryptedfile) structure. title: EncryptedFile type: object required: diff --git a/data/event-schemas/schema/m.room.message$m.file.yaml b/data/event-schemas/schema/m.room.message$m.file.yaml index 296118e0..ca9a6ceb 100644 --- a/data/event-schemas/schema/m.room.message$m.file.yaml +++ b/data/event-schemas/schema/m.room.message$m.file.yaml @@ -48,8 +48,7 @@ properties: pattern: "^mxc:\\/\\/" thumbnail_file: description: |- - Information on the encrypted thumbnail file, as specified in - [End-to-end encryption](/client-server-api/#sending-encrypted-attachments). + An [EncryptedFile](/client-server-api/#definition-encryptedfile) structure. Only present if the thumbnail is encrypted. title: EncryptedFile type: object @@ -72,9 +71,7 @@ properties: pattern: "^mxc:\\/\\/" file: description: |- - Required if the file is encrypted. Information on the encrypted - file, as specified in - [End-to-end encryption](/client-server-api/#sending-encrypted-attachments). + Required if the file is encrypted. An [EncryptedFile](/client-server-api/#definition-encryptedfile) structure. title: EncryptedFile type: object required: diff --git a/data/event-schemas/schema/m.room.message$m.image.yaml b/data/event-schemas/schema/m.room.message$m.image.yaml index 2cb7371d..f36d5f7d 100644 --- a/data/event-schemas/schema/m.room.message$m.image.yaml +++ b/data/event-schemas/schema/m.room.message$m.image.yaml @@ -48,9 +48,7 @@ properties: pattern: "^mxc:\\/\\/" file: description: |- - Required if the file is encrypted. Information on the encrypted - file, as specified in - [End-to-end encryption](/client-server-api/#sending-encrypted-attachments). + Required if the file is encrypted. An [EncryptedFile](/client-server-api/#definition-encryptedfile) structure. title: EncryptedFile type: object required: diff --git a/data/event-schemas/schema/m.room.message$m.location.yaml b/data/event-schemas/schema/m.room.message$m.location.yaml index 3f1b9c1c..507f6a7f 100644 --- a/data/event-schemas/schema/m.room.message$m.location.yaml +++ b/data/event-schemas/schema/m.room.message$m.location.yaml @@ -31,8 +31,7 @@ properties: pattern: "^mxc:\\/\\/" thumbnail_file: description: |- - Information on the encrypted thumbnail file, as specified in - [End-to-end encryption](/client-server-api/#sending-encrypted-attachments). + An [EncryptedFile](/client-server-api/#definition-encryptedfile) structure. Only present if the thumbnail is encrypted. title: EncryptedFile type: object diff --git a/data/event-schemas/schema/m.room.message$m.video.yaml b/data/event-schemas/schema/m.room.message$m.video.yaml index 5ff9c250..0f3c5159 100644 --- a/data/event-schemas/schema/m.room.message$m.video.yaml +++ b/data/event-schemas/schema/m.room.message$m.video.yaml @@ -58,8 +58,7 @@ properties: pattern: "^mxc:\\/\\/" thumbnail_file: description: |- - Information on the encrypted thumbnail file, as specified in - [End-to-end encryption](/client-server-api/#sending-encrypted-attachments). + An [EncryptedFile](/client-server-api/#definition-encryptedfile) structure. Only present if the thumbnail is encrypted. title: EncryptedFile type: object @@ -82,9 +81,7 @@ properties: pattern: "^mxc:\\/\\/" file: description: |- - Required if the file is encrypted. Information on the encrypted - file, as specified in - [End-to-end encryption](/client-server-api/#sending-encrypted-attachments). + Required if the file is encrypted. An [EncryptedFile](/client-server-api/#definition-encryptedfile) structure. title: EncryptedFile type: object required: