From 6bdf82b3039fe5d667874b6606116d8dd927a394 Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Fri, 5 Jul 2019 12:16:45 +0100 Subject: Add default push rule to ignore reactions This adds a default push rule following the proposal in [MSC2153](https://github.com/matrix-org/matrix-doc/pull/2153). See also https://github.com/vector-im/riot-web/issues/10208 See also https://github.com/matrix-org/matrix-js-sdk/pull/976 --- synapse/push/baserules.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/synapse/push/baserules.py b/synapse/push/baserules.py index 96d087de22..fe5dd1e4a7 100644 --- a/synapse/push/baserules.py +++ b/synapse/push/baserules.py @@ -248,6 +248,18 @@ BASE_APPEND_OVERRIDE_RULES = [ ], "actions": ["notify", {"set_tweak": "highlight", "value": True}], }, + { + "rule_id": "global/override/.m.rule.reaction", + "conditions": [ + { + "kind": "event_match", + "key": "type", + "pattern": "m.reaction", + "_id": "_reaction", + } + ], + "actions": ["dont_notify"], + }, ] -- cgit 1.4.1