Add missing format fields to m.room.message$m.notice schema.

Signed-off-by: Jimmy Cuadra <jimmy@jimmycuadra.com>
This commit is contained in:
Jimmy Cuadra 2019-06-12 14:32:33 -07:00
parent d26cf7da92
commit e670fb1f5a
2 changed files with 11 additions and 0 deletions

View file

@ -0,0 +1 @@
Add missing format fields to ``m.room.message$m.notice`` schema.

View file

@ -12,6 +12,16 @@ properties:
enum:
- m.notice
type: string
format:
description: |-
The format used in the ``formatted_body``. Currently only
``org.matrix.custom.html`` is supported.
type: string
formatted_body:
description: |-
The formatted version of the ``body``. This is required if ``format``
is specified.
type: string
required:
- msgtype
- body