Merge pull request #2152 from matrix-org/jryans/room-one-to-one-push-rule

Clarify `.m.rule.room_one_to_one` push rule
This commit is contained in:
Travis Ralston 2019-07-03 09:35:12 -06:00 committed by GitHub
commit db5ce0c69e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 20 additions and 4 deletions

View file

@ -159,8 +159,13 @@ paths:
],
"conditions": [
{
"is": "2",
"kind": "room_member_count"
"kind": "room_member_count",
"is": "2"
},
{
"kind": "event_match",
"key": "type",
"pattern": "m.room.message"
}
],
"default": true,

View file

@ -0,0 +1 @@
Clarify the conditions for the ``.m.rule.room_one_to_one`` push rule.

View file

@ -107,8 +107,13 @@
],
"conditions": [
{
"is": "2",
"kind": "room_member_count"
"kind": "room_member_count",
"is": "2"
},
{
"kind": "event_match",
"key": "type",
"pattern": "m.room.message"
}
],
"default": true,

View file

@ -563,6 +563,11 @@ Definition:
{
"kind": "room_member_count",
"is": "2"
},
{
"kind": "event_match",
"key": "type",
"pattern": "m.room.message"
}
],
"actions": [