|
|
|
@ -207,6 +207,7 @@ 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.
|
|
|
|
@ -216,7 +217,7 @@ Default Override Rules
|
|
|
|
|
.. code:: json
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
"rule_id": ".m.rule.master,
|
|
|
|
|
"rule_id": ".m.rule.master",
|
|
|
|
|
"default": true,
|
|
|
|
|
"enabled": false,
|
|
|
|
|
"conditions": [],
|
|
|
|
@ -226,6 +227,7 @@ 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.
|
|
|
|
@ -238,7 +240,7 @@ Default Override Rules
|
|
|
|
|
"rule_id": ".m.rule.suppress_notices",
|
|
|
|
|
"default": true,
|
|
|
|
|
"enabled": true,
|
|
|
|
|
"conditions': [
|
|
|
|
|
"conditions": [
|
|
|
|
|
{
|
|
|
|
|
"kind": "event_match",
|
|
|
|
|
"key": "content.msgtype",
|
|
|
|
@ -255,6 +257,7 @@ 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.
|
|
|
|
|
|
|
|
|
@ -280,6 +283,7 @@ Default Underride Rules
|
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
``.m.rule.call``
|
|
|
|
|
````````````````
|
|
|
|
|
Matches any incoming VOIP call.
|
|
|
|
|
|
|
|
|
|
Definition:
|
|
|
|
@ -312,6 +316,7 @@ 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.
|
|
|
|
|
|
|
|
|
@ -341,6 +346,7 @@ Default Underride Rules
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
``.m.rule.room_one_to_one``
|
|
|
|
|
```````````````````````````
|
|
|
|
|
Matches any message sent in a room with exactly two members.
|
|
|
|
|
|
|
|
|
|
Definition:
|
|
|
|
@ -367,10 +373,11 @@ Default Underride Rules
|
|
|
|
|
"set_tweak": "highlight",
|
|
|
|
|
"value": false
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
``.m.rule.invite_for_me``
|
|
|
|
|
`````````````````````````
|
|
|
|
|
Matches any invites to a new room for this user.
|
|
|
|
|
|
|
|
|
|
Definition:
|
|
|
|
@ -412,6 +419,7 @@ Default Underride Rules
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
``.m.rule.member_event``
|
|
|
|
|
````````````````````````
|
|
|
|
|
Matches membership change events.
|
|
|
|
|
|
|
|
|
|
Definition:
|
|
|
|
@ -439,6 +447,7 @@ Default Underride Rules
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
``.m.rule.message``
|
|
|
|
|
```````````````````
|
|
|
|
|
Matches all chat messages.
|
|
|
|
|
|
|
|
|
|
Definition:
|
|
|
|
|