Skip to content

Commit

Permalink
Merge pull request #976 from matrix-org/jryans/push-rule-reactions
Browse files Browse the repository at this point in the history
Add default push rule to ignore reactions
  • Loading branch information
jryans committed Jul 5, 2019
2 parents 2ae56e6 + 2525b5a commit 90e2586
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/pushprocessor.js
Expand Up @@ -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",
],
},
];

/**
Expand Down

0 comments on commit 90e2586

Please sign in to comment.