From 25b41c755139ab39d15c42078cd825db4c7d08b0 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Fri, 4 Nov 2016 14:52:01 +0000 Subject: [PATCH] Move m.image thumbnail_url to be inside info to match m.video --- event-schemas/schema/m.room.message#m.image | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/event-schemas/schema/m.room.message#m.image b/event-schemas/schema/m.room.message#m.image index 4573ff27..26fb0ee4 100644 --- a/event-schemas/schema/m.room.message#m.image +++ b/event-schemas/schema/m.room.message#m.image @@ -23,21 +23,21 @@ properties: w: description: The width of the image in pixels. 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 image. + type: string title: ImageInfo type: object msgtype: enum: - m.image 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 image. - type: string url: description: The URL to the image. type: string