Move m.file thumbnail_url to be inside info to match m.video

This commit is contained in:
Mark Haines 2016-11-04 14:53:59 +00:00
parent 25b41c7551
commit 14d05464ee

View file

@ -20,12 +20,6 @@ properties:
size: size:
description: The size of the file in bytes. description: The size of the file in bytes.
type: integer type: integer
title: FileInfo
type: object
msgtype:
enum:
- m.file
type: string
thumbnail_info: thumbnail_info:
allOf: allOf:
- $ref: core-event-schema/msgtype_infos/image_info.yaml - $ref: core-event-schema/msgtype_infos/image_info.yaml
@ -35,6 +29,12 @@ properties:
thumbnail_url: thumbnail_url:
description: The URL to the thumbnail of the file. description: The URL to the thumbnail of the file.
type: string type: string
title: FileInfo
type: object
msgtype:
enum:
- m.file
type: string
url: url:
description: The URL to the file. description: The URL to the file.
type: string type: string