Skip to content

Commit

Permalink
Merge pull request #2125 from jimmycuadra/m.notice-format
Browse files Browse the repository at this point in the history
Add missing format fields to m.room.message$m.notice schema.
  • Loading branch information
turt2live authored Jun 12, 2019
2 parents 2cafa7e + e670fb1 commit a9297f9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/2125.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add missing format fields to ``m.room.message$m.notice`` schema.
10 changes: 10 additions & 0 deletions event-schemas/schema/m.room.message$m.notice
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a9297f9

Please sign in to comment.