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

Signed-off-by: Jimmy Cuadra <jimmy@jimmycuadra.com>
pull/977/head
Jimmy Cuadra 6 years ago
parent d26cf7da92
commit e670fb1f5a

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

@ -12,6 +12,16 @@ properties:
enum: enum:
- m.notice - m.notice
type: string 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: required:
- msgtype - msgtype
- body - body

Loading…
Cancel
Save