|
|
@ -119,6 +119,7 @@ with these IDs, their semantics should match those given below:
|
|
|
|
of the user's Matrix ID, separated by word boundaries.
|
|
|
|
of the user's Matrix ID, separated by word boundaries.
|
|
|
|
|
|
|
|
|
|
|
|
Definition (as a content rule)::
|
|
|
|
Definition (as a content rule)::
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"rule_id": ".m.rule.contains_user_name"
|
|
|
|
"rule_id": ".m.rule.contains_user_name"
|
|
|
|
"pattern": "[the lcoal part of the user's Matrix ID]",
|
|
|
|
"pattern": "[the lcoal part of the user's Matrix ID]",
|
|
|
@ -136,6 +137,7 @@ with these IDs, their semantics should match those given below:
|
|
|
|
current display name in the room in which it was sent.
|
|
|
|
current display name in the room in which it was sent.
|
|
|
|
|
|
|
|
|
|
|
|
Definition (this rule can only be an override or underride rule)::
|
|
|
|
Definition (this rule can only be an override or underride rule)::
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"rule_id": ".m.rule.contains_display_name"
|
|
|
|
"rule_id": ".m.rule.contains_display_name"
|
|
|
|
"conditions": [
|
|
|
|
"conditions": [
|
|
|
@ -156,6 +158,7 @@ with these IDs, their semantics should match those given below:
|
|
|
|
Matches any message sent in a room with exactly two members.
|
|
|
|
Matches any message sent in a room with exactly two members.
|
|
|
|
|
|
|
|
|
|
|
|
Definition (this rule can only be an override or underride rule)::
|
|
|
|
Definition (this rule can only be an override or underride rule)::
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"rule_id": ".m.rule.room_two_members"
|
|
|
|
"rule_id": ".m.rule.room_two_members"
|
|
|
|
"conditions": [
|
|
|
|
"conditions": [
|
|
|
@ -179,6 +182,7 @@ with these IDs, their semantics should match those given below:
|
|
|
|
priority underride rule.
|
|
|
|
priority underride rule.
|
|
|
|
|
|
|
|
|
|
|
|
Definition::
|
|
|
|
Definition::
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"rule_id": ".m.rule.fallback"
|
|
|
|
"rule_id": ".m.rule.fallback"
|
|
|
|
"conditions": [],
|
|
|
|
"conditions": [],
|
|
|
|