Add a default .m.rule.tombstone push rule (#4867)

* Add a default .m.rule.tombstone push rule

In support of MSC1930: https://github.com/matrix-org/matrix-doc/pull/1930

* changelog

* Appease the changelog linter
This commit is contained in:
Travis Ralston 2019-04-29 15:40:31 -06:00 committed by GitHub
parent b31cc1c613
commit 8c5b1e30d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 0 deletions

1
changelog.d/4867.feature Normal file
View File

@ -0,0 +1 @@
Add a default .m.rule.tombstone push rule.

View File

@ -261,6 +261,23 @@ BASE_APPEND_OVERRIDE_RULES = [
'value': True, 'value': True,
} }
] ]
},
{
'rule_id': 'global/override/.m.rule.tombstone',
'conditions': [
{
'kind': 'event_match',
'key': 'type',
'pattern': 'm.room.tombstone',
'_id': '_tombstone',
}
],
'actions': [
'notify', {
'set_tweak': 'highlight',
'value': True,
}
]
} }
] ]