mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-26 13:04:10 +01:00
Remove the dont_notify and coalesce push rule actions.
Per MSC3987, these should both be considered no-ops.
This commit is contained in:
parent
715f6a301d
commit
2b9c615fa9
|
|
@ -0,0 +1 @@
|
||||||
|
Remove the `dont_notify` and `coalesce` push rule actions per [MSC3987](https://github.com/matrix-org/matrix-spec-proposals/pull/3987).
|
||||||
|
|
@ -147,17 +147,6 @@ actions are defined:
|
||||||
|
|
||||||
: This causes each matching event to generate a notification.
|
: This causes each matching event to generate a notification.
|
||||||
|
|
||||||
`dont_notify`
|
|
||||||
|
|
||||||
: This prevents each matching event from generating a notification.
|
|
||||||
|
|
||||||
`coalesce`
|
|
||||||
|
|
||||||
: This enables notifications for matching events but activates homeserver
|
|
||||||
specific behaviour to intelligently coalesce multiple events into a
|
|
||||||
single notification. Not all homeservers may support this. Those that do
|
|
||||||
not support it should treat it as the `notify` action.
|
|
||||||
|
|
||||||
`set_tweak`
|
`set_tweak`
|
||||||
|
|
||||||
: Sets an entry in the `tweaks` dictionary key that is sent in the
|
: Sets an entry in the `tweaks` dictionary key that is sent in the
|
||||||
|
|
@ -195,6 +184,12 @@ they are represented as a dictionary with a key equal to their name and
|
||||||
other keys as their parameters, e.g.
|
other keys as their parameters, e.g.
|
||||||
`{ "set_tweak": "sound", "value": "default" }`.
|
`{ "set_tweak": "sound", "value": "default" }`.
|
||||||
|
|
||||||
|
{{% boxes/note %}}
|
||||||
|
Older versions of the Matrix specification included the `dont_notify` and
|
||||||
|
`coalesce` actions. These should both be considered no-ops (ignored, not
|
||||||
|
rejected) if received from a client.
|
||||||
|
{{% /boxes/note %}}
|
||||||
|
|
||||||
##### Conditions
|
##### Conditions
|
||||||
|
|
||||||
`override` and `underride` rules MAY have a list of 'conditions'. All
|
`override` and `underride` rules MAY have a list of 'conditions'. All
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue