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

Add missing format fields to m.room.message$m.notice schema.
This commit is contained in:
Travis Ralston 2019-06-12 17:48:56 -06:00 committed by GitHub
commit a9297f9e6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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