|
|
|
@ -208,11 +208,11 @@ Default Override Rules
|
|
|
|
|
|
|
|
|
|
``m.rule.master``
|
|
|
|
|
`````````````````
|
|
|
|
|
Matches all events, this can be enabled to turn off all push notifications
|
|
|
|
|
other than those generated by override rules set by the user. By default this
|
|
|
|
|
rule is disabled.
|
|
|
|
|
Matches all events, this can be enabled to turn off all push notifications
|
|
|
|
|
other than those generated by override rules set by the user. By default this
|
|
|
|
|
rule is disabled.
|
|
|
|
|
|
|
|
|
|
Definition
|
|
|
|
|
Definition
|
|
|
|
|
|
|
|
|
|
.. code:: json
|
|
|
|
|
|
|
|
|
@ -228,11 +228,11 @@ Default Override Rules
|
|
|
|
|
|
|
|
|
|
``.m.rule.suppress_notices``
|
|
|
|
|
````````````````````````````
|
|
|
|
|
Matches messages with a ``msgtype`` of ``notice``. This should be an
|
|
|
|
|
``override`` rule so that it takes priority over ``content`` / ``sender`` /
|
|
|
|
|
``room`` rules.
|
|
|
|
|
Matches messages with a ``msgtype`` of ``notice``. This should be an
|
|
|
|
|
``override`` rule so that it takes priority over ``content`` / ``sender`` /
|
|
|
|
|
``room`` rules.
|
|
|
|
|
|
|
|
|
|
Definition:
|
|
|
|
|
Definition:
|
|
|
|
|
|
|
|
|
|
.. code:: json
|
|
|
|
|
|
|
|
|
@ -258,10 +258,10 @@ Default Content Rules
|
|
|
|
|
|
|
|
|
|
``.m.rule.contains_user_name``
|
|
|
|
|
``````````````````````````````
|
|
|
|
|
Matches any message whose content is unencrypted and contains the local part
|
|
|
|
|
of the user's Matrix ID, separated by word boundaries.
|
|
|
|
|
Matches any message whose content is unencrypted and contains the local part
|
|
|
|
|
of the user's Matrix ID, separated by word boundaries.
|
|
|
|
|
|
|
|
|
|
Definition (as a ``content`` rule):
|
|
|
|
|
Definition (as a ``content`` rule):
|
|
|
|
|
|
|
|
|
|
.. code:: json
|
|
|
|
|
|
|
|
|
@ -284,9 +284,9 @@ Default Underride Rules
|
|
|
|
|
|
|
|
|
|
``.m.rule.call``
|
|
|
|
|
````````````````
|
|
|
|
|
Matches any incoming VOIP call.
|
|
|
|
|
Matches any incoming VOIP call.
|
|
|
|
|
|
|
|
|
|
Definition:
|
|
|
|
|
Definition:
|
|
|
|
|
|
|
|
|
|
.. code:: json
|
|
|
|
|
|
|
|
|
@ -317,10 +317,10 @@ Default Underride Rules
|
|
|
|
|
|
|
|
|
|
``.m.rule.contains_display_name``
|
|
|
|
|
`````````````````````````````````
|
|
|
|
|
Matches any message whose content is unencrypted and contains the user's
|
|
|
|
|
current display name in the room in which it was sent.
|
|
|
|
|
Matches any message whose content is unencrypted and contains the user's
|
|
|
|
|
current display name in the room in which it was sent.
|
|
|
|
|
|
|
|
|
|
Definition:
|
|
|
|
|
Definition:
|
|
|
|
|
|
|
|
|
|
.. code:: json
|
|
|
|
|
|
|
|
|
@ -347,9 +347,9 @@ Default Underride Rules
|
|
|
|
|
|
|
|
|
|
``.m.rule.room_one_to_one``
|
|
|
|
|
```````````````````````````
|
|
|
|
|
Matches any message sent in a room with exactly two members.
|
|
|
|
|
Matches any message sent in a room with exactly two members.
|
|
|
|
|
|
|
|
|
|
Definition:
|
|
|
|
|
Definition:
|
|
|
|
|
|
|
|
|
|
.. code:: json
|
|
|
|
|
|
|
|
|
@ -378,9 +378,9 @@ Default Underride Rules
|
|
|
|
|
|
|
|
|
|
``.m.rule.invite_for_me``
|
|
|
|
|
`````````````````````````
|
|
|
|
|
Matches any invites to a new room for this user.
|
|
|
|
|
Matches any invites to a new room for this user.
|
|
|
|
|
|
|
|
|
|
Definition:
|
|
|
|
|
Definition:
|
|
|
|
|
|
|
|
|
|
.. code:: json
|
|
|
|
|
|
|
|
|
@ -420,9 +420,9 @@ Default Underride Rules
|
|
|
|
|
|
|
|
|
|
``.m.rule.member_event``
|
|
|
|
|
````````````````````````
|
|
|
|
|
Matches membership change events.
|
|
|
|
|
Matches membership change events.
|
|
|
|
|
|
|
|
|
|
Definition:
|
|
|
|
|
Definition:
|
|
|
|
|
|
|
|
|
|
.. code:: json
|
|
|
|
|
|
|
|
|
@ -448,9 +448,9 @@ Default Underride Rules
|
|
|
|
|
|
|
|
|
|
``.m.rule.message``
|
|
|
|
|
```````````````````
|
|
|
|
|
Matches all chat messages.
|
|
|
|
|
Matches all chat messages.
|
|
|
|
|
|
|
|
|
|
Definition:
|
|
|
|
|
Definition:
|
|
|
|
|
|
|
|
|
|
.. code:: json
|
|
|
|
|
|
|
|
|
|