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

This commit is contained in:
Anatoly Sablin 2019-02-16 00:24:26 +03:00
parent 2de7ef9a3d
commit d4b4d92b82
2 changed files with 2 additions and 6 deletions

View file

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

View file

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