diff options
author | Richard van der Hoff <richard@matrix.org> | 2019-06-18 17:46:04 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2019-06-18 17:46:04 +0100 |
commit | ef8415adc2bb14fce19bbe454357bef2b701eca2 (patch) | |
tree | 313bf881fe0583a5129ed0e472667e6be566b6d4 /synapse/push/baserules.py | |
parent | fix changelog (diff) | |
parent | Fix seven contrib files with Python syntax errors (#5446) (diff) | |
download | synapse-dbkr/3pid_verification_logging.tar.xz |
Merge remote-tracking branch 'origin/develop' into dbkr/3pid_verification_logging github/dbkr/3pid_verification_logging dbkr/3pid_verification_logging
Diffstat (limited to 'synapse/push/baserules.py')
-rw-r--r-- | synapse/push/baserules.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/synapse/push/baserules.py b/synapse/push/baserules.py index 8f0682c948..3523a40108 100644 --- a/synapse/push/baserules.py +++ b/synapse/push/baserules.py @@ -261,6 +261,23 @@ BASE_APPEND_OVERRIDE_RULES = [ '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, + } + ] } ] |