From 1b661b64dc380b241b50f83ac34b884c82ef9c66 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Fri, 4 Nov 2016 14:59:39 +0000 Subject: [PATCH] Move m.location thumbnail_url to be inside info to match m.video --- event-schemas/schema/m.room.message#m.location | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/event-schemas/schema/m.room.message#m.location b/event-schemas/schema/m.room.message#m.location index ca37856d..14ee97fb 100644 --- a/event-schemas/schema/m.room.message#m.location +++ b/event-schemas/schema/m.room.message#m.location @@ -15,14 +15,18 @@ properties: enum: - m.location type: string - thumbnail_info: - allOf: - - $ref: core-event-schema/msgtype_infos/image_info.yaml - title: ImageInfo + info: type: object - thumbnail_url: - description: The URL to a thumbnail of the location being represented. - type: string + properties: + thumbnail_info: + allOf: + - $ref: core-event-schema/msgtype_infos/image_info.yaml + title: ImageInfo + type: object + thumbnail_url: + description: The URL to a thumbnail of the location being represented. + type: string + title: LocationInfo required: - msgtype - body