mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-21 02:14:09 +02:00
Move m.file thumbnail_url to be inside info to match m.video
This commit is contained in:
parent
25b41c7551
commit
14d05464ee
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue