summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2023-02-14 18:19:58 +0000
committerGitHub <noreply@github.com>2023-02-14 18:19:58 +0000
commit157c571f3e9d3d09cd763405b6a9eb967f2807e7 (patch)
treeecfc792d8b40b034f6400e7cfd66067915a1bbf8
parentPrevent clients from reporting nonexistent events. (#13779) (diff)
downloadsynapse-157c571f3e9d3d09cd763405b6a9eb967f2807e7.tar.xz
Remove spurious `dont_notify` action from `.m.rule.reaction` (#15073)
This does nothing and I want to remove it from the MSC.
-rw-r--r--changelog.d/15073.feature1
-rw-r--r--rust/src/push/base_rules.rs2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/15073.feature b/changelog.d/15073.feature
new file mode 100644
index 0000000000..2889e3444f
--- /dev/null
+++ b/changelog.d/15073.feature
@@ -0,0 +1 @@
+Remove spurious `dont_notify` action from the defaults for the `.m.rule.reaction` pushrule.
diff --git a/rust/src/push/base_rules.rs b/rust/src/push/base_rules.rs
index 97d0a0a7e2..dcbca340fe 100644
--- a/rust/src/push/base_rules.rs
+++ b/rust/src/push/base_rules.rs
@@ -223,7 +223,7 @@ pub const BASE_APPEND_OVERRIDE_RULES: &[PushRule] = &[
                 pattern_type: None,
             },
         ))]),
-        actions: Cow::Borrowed(&[Action::DontNotify]),
+        actions: Cow::Borrowed(&[]),
         default: true,
         default_enabled: true,
     },