Merge pull request #2125 from jimmycuadra/m.notice-format

Add missing format fields to m.room.message$m.notice schema.
pull/2128/head
Travis Ralston 5 years ago committed by GitHub
commit a9297f9e6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

@ -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

Loading…
Cancel
Save