Make url required for m.file-like messages

Fixes https://github.com/matrix-org/matrix-doc/issues/2008

This also removes `filename` from `m.file` because it has never been used in practice.
pull/977/head
Travis Ralston 6 years ago
parent d2232aca97
commit 464845feb0

@ -0,0 +1 @@
Clarify the required fields on ``m.file`` (and similar) messages.

@ -38,6 +38,7 @@ properties:
required:
- msgtype
- body
- url
type: object
type:
enum:

@ -53,7 +53,7 @@ properties:
required:
- msgtype
- body
- filename
- url
type: object
type:
enum:

@ -28,6 +28,7 @@ properties:
required:
- msgtype
- body
- url
type: object
type:
enum:

@ -59,6 +59,7 @@ properties:
required:
- msgtype
- body
- url
type: object
type:
enum:

Loading…
Cancel
Save