|
|
@ -207,6 +207,7 @@ Default Override Rules
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
|
|
``m.rule.master``
|
|
|
|
``m.rule.master``
|
|
|
|
|
|
|
|
`````````````````
|
|
|
|
Matches all events, this can be enabled to turn off all push notifications
|
|
|
|
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
|
|
|
|
other than those generated by override rules set by the user. By default this
|
|
|
|
rule is disabled.
|
|
|
|
rule is disabled.
|
|
|
@ -216,7 +217,7 @@ Default Override Rules
|
|
|
|
.. code:: json
|
|
|
|
.. code:: json
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"rule_id": ".m.rule.master,
|
|
|
|
"rule_id": ".m.rule.master",
|
|
|
|
"default": true,
|
|
|
|
"default": true,
|
|
|
|
"enabled": false,
|
|
|
|
"enabled": false,
|
|
|
|
"conditions": [],
|
|
|
|
"conditions": [],
|
|
|
@ -226,6 +227,7 @@ Default Override Rules
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
``.m.rule.suppress_notices``
|
|
|
|
``.m.rule.suppress_notices``
|
|
|
|
|
|
|
|
````````````````````````````
|
|
|
|
Matches messages with a ``msgtype`` of ``notice``. This should be an
|
|
|
|
Matches messages with a ``msgtype`` of ``notice``. This should be an
|
|
|
|
``override`` rule so that it takes priority over ``content`` / ``sender`` /
|
|
|
|
``override`` rule so that it takes priority over ``content`` / ``sender`` /
|
|
|
|
``room`` rules.
|
|
|
|
``room`` rules.
|
|
|
@ -238,7 +240,7 @@ Default Override Rules
|
|
|
|
"rule_id": ".m.rule.suppress_notices",
|
|
|
|
"rule_id": ".m.rule.suppress_notices",
|
|
|
|
"default": true,
|
|
|
|
"default": true,
|
|
|
|
"enabled": true,
|
|
|
|
"enabled": true,
|
|
|
|
"conditions': [
|
|
|
|
"conditions": [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"kind": "event_match",
|
|
|
|
"kind": "event_match",
|
|
|
|
"key": "content.msgtype",
|
|
|
|
"key": "content.msgtype",
|
|
|
@ -255,6 +257,7 @@ Default Content Rules
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
|
|
``.m.rule.contains_user_name``
|
|
|
|
``.m.rule.contains_user_name``
|
|
|
|
|
|
|
|
``````````````````````````````
|
|
|
|
Matches any message whose content is unencrypted and contains the local part
|
|
|
|
Matches any message whose content is unencrypted and contains the local part
|
|
|
|
of the user's Matrix ID, separated by word boundaries.
|
|
|
|
of the user's Matrix ID, separated by word boundaries.
|
|
|
|
|
|
|
|
|
|
|
@ -280,6 +283,7 @@ Default Underride Rules
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
|
|
``.m.rule.call``
|
|
|
|
``.m.rule.call``
|
|
|
|
|
|
|
|
````````````````
|
|
|
|
Matches any incoming VOIP call.
|
|
|
|
Matches any incoming VOIP call.
|
|
|
|
|
|
|
|
|
|
|
|
Definition:
|
|
|
|
Definition:
|
|
|
@ -312,6 +316,7 @@ Default Underride Rules
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
``.m.rule.contains_display_name``
|
|
|
|
``.m.rule.contains_display_name``
|
|
|
|
|
|
|
|
`````````````````````````````````
|
|
|
|
Matches any message whose content is unencrypted and contains the user's
|
|
|
|
Matches any message whose content is unencrypted and contains the user's
|
|
|
|
current display name in the room in which it was sent.
|
|
|
|
current display name in the room in which it was sent.
|
|
|
|
|
|
|
|
|
|
|
@ -341,6 +346,7 @@ Default Underride Rules
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
``.m.rule.room_one_to_one``
|
|
|
|
``.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:
|
|
|
@ -367,10 +373,11 @@ Default Underride Rules
|
|
|
|
"set_tweak": "highlight",
|
|
|
|
"set_tweak": "highlight",
|
|
|
|
"value": false
|
|
|
|
"value": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
``.m.rule.invite_for_me``
|
|
|
|
``.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:
|
|
|
@ -412,6 +419,7 @@ Default Underride Rules
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
``.m.rule.member_event``
|
|
|
|
``.m.rule.member_event``
|
|
|
|
|
|
|
|
````````````````````````
|
|
|
|
Matches membership change events.
|
|
|
|
Matches membership change events.
|
|
|
|
|
|
|
|
|
|
|
|
Definition:
|
|
|
|
Definition:
|
|
|
@ -439,6 +447,7 @@ Default Underride Rules
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
``.m.rule.message``
|
|
|
|
``.m.rule.message``
|
|
|
|
|
|
|
|
```````````````````
|
|
|
|
Matches all chat messages.
|
|
|
|
Matches all chat messages.
|
|
|
|
|
|
|
|
|
|
|
|
Definition:
|
|
|
|
Definition:
|
|
|
|