Check for a state_key on the tombstone push rule
This is an oversight from the proposal.
This commit is contained in:
parent
3087c76452
commit
a171d5f6fd
3 changed files with 12 additions and 1 deletions
|
@ -0,0 +1 @@
|
|||
Add a missing ``state_key`` check on ``.m.rule.tombstone``.
|
|
@ -19,6 +19,11 @@ A new default override rule is to be added which is similar to `@room` notificat
|
|||
"kind": "event_match",
|
||||
"key": "type",
|
||||
"pattern": "m.room.tombstone"
|
||||
},
|
||||
{
|
||||
"kind": "event_match",
|
||||
"key": "state_key",
|
||||
"pattern": ""
|
||||
}
|
||||
],
|
||||
"actions": [
|
||||
|
|
|
@ -382,7 +382,7 @@ Definition:
|
|||
|
||||
``.m.rule.tombstone``
|
||||
`````````````````````
|
||||
Matches any event whose type is ``m.room.tombstone``. This is intended
|
||||
Matches any state event whose type is ``m.room.tombstone``. This is intended
|
||||
to notify users of a room when it is upgraded, similar to what an
|
||||
``@room`` notification would accomplish.
|
||||
|
||||
|
@ -399,6 +399,11 @@ Definition:
|
|||
"kind": "event_match",
|
||||
"key": "type",
|
||||
"pattern": "m.room.tombstone"
|
||||
},
|
||||
{
|
||||
"kind": "event_match",
|
||||
"key": "state_key",
|
||||
"pattern": ""
|
||||
}
|
||||
],
|
||||
"actions": [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue