Merge pull request #976 from matrix-org/jryans/push-rule-reactions

Add default push rule to ignore reactions
This commit is contained in:
J. Ryan Stinnett
2019-07-05 12:01:31 +01:00
committed by GitHub
+16
View File
@@ -52,6 +52,22 @@ const DEFAULT_OVERRIDE_RULES = [
},
],
},
{
// For homeservers which don't support MSC2153 yet
rule_id: ".m.rule.reaction",
default: true,
enabled: true,
conditions: [
{
kind: "event_match",
key: "type",
pattern: "m.reaction",
},
],
actions: [
"dont_notify",
],
},
];
/**