mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-01-04 23:13:43 +01:00
Use strict types for the presence EDUs
This commit is contained in:
parent
549a25cad9
commit
766402a702
|
|
@ -22,7 +22,8 @@ allOf:
|
|||
- type: object
|
||||
properties:
|
||||
edu_type:
|
||||
type: string
|
||||
type: enum
|
||||
enum: ['m.presence_accept']
|
||||
description: The string ``m.presence_accept``
|
||||
example: "m.presence_accept"
|
||||
content:
|
||||
|
|
|
|||
|
|
@ -31,7 +31,8 @@ allOf:
|
|||
- type: object
|
||||
properties:
|
||||
edu_type:
|
||||
type: string
|
||||
type: enum
|
||||
enum: ['m.presence_deny']
|
||||
description: The string ``m.presence_deny``
|
||||
example: "m.presence_deny"
|
||||
content:
|
||||
|
|
|
|||
|
|
@ -21,7 +21,8 @@ allOf:
|
|||
- type: object
|
||||
properties:
|
||||
edu_type:
|
||||
type: string
|
||||
type: enum
|
||||
enum: ['m.presence_invite']
|
||||
description: The string ``m.presence_invite``
|
||||
example: "m.presence_invite"
|
||||
content:
|
||||
|
|
|
|||
|
|
@ -21,7 +21,8 @@ allOf:
|
|||
- type: object
|
||||
properties:
|
||||
edu_type:
|
||||
type: string
|
||||
type: enum
|
||||
enum: ['m.presence']
|
||||
description: The string ``m.presence``
|
||||
example: "m.presence"
|
||||
content:
|
||||
|
|
|
|||
Loading…
Reference in a new issue