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:
parent
b31cc1c613
commit
8c5b1e30d4
|
@ -0,0 +1 @@
|
||||||
|
Add a default .m.rule.tombstone push rule.
|
|
@ -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,
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue