From 14d05464eef232c751f14737946915db40238320 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Fri, 4 Nov 2016 14:53:59 +0000 Subject: [PATCH] Move m.file thumbnail_url to be inside info to match m.video --- event-schemas/schema/m.room.message#m.file | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/event-schemas/schema/m.room.message#m.file b/event-schemas/schema/m.room.message#m.file index 2f56c804..68a355cc 100644 --- a/event-schemas/schema/m.room.message#m.file +++ b/event-schemas/schema/m.room.message#m.file @@ -20,21 +20,21 @@ properties: size: description: The size of the file in bytes. type: integer + thumbnail_info: + allOf: + - $ref: core-event-schema/msgtype_infos/image_info.yaml + description: Metadata about the image referred to in ``thumbnail_url``. + title: ImageInfo + type: object + thumbnail_url: + description: The URL to the thumbnail of the file. + type: string title: FileInfo type: object msgtype: enum: - m.file type: string - thumbnail_info: - allOf: - - $ref: core-event-schema/msgtype_infos/image_info.yaml - description: Metadata about the image referred to in ``thumbnail_url``. - title: ImageInfo - type: object - thumbnail_url: - description: The URL to the thumbnail of the file. - type: string url: description: The URL to the file. type: string