Fix the m.push_rules type (switch from the state event to the common event).

pull/977/head
Anatoly Sablin 6 years ago
parent 2de7ef9a3d
commit d4b4d92b82

@ -1,5 +1,5 @@
{ {
"$ref": "core/state_event.json", "$ref": "core/event.json",
"type": "m.push_rules", "type": "m.push_rules",
"content": { "content": {
"global": { "global": {

@ -1,6 +1,6 @@
--- ---
allOf: allOf:
- $ref: core-event-schema/state_event.yaml - $ref: core-event-schema/event.yaml
description: Describes all push rules for this user. description: Describes all push rules for this user.
properties: properties:
content: content:
@ -46,10 +46,6 @@ properties:
type: object type: object
type: array type: array
type: object type: object
state_key:
description: A zero-length string.
pattern: '^$'
type: string
type: type:
enum: enum:
- m.push_rules - m.push_rules

Loading…
Cancel
Save