diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2023-02-07 18:11:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-07 18:11:16 -0500 |
commit | 4142dca7188656647a5bfcbb593a58af721ebbf2 (patch) | |
tree | f2ca7d6fe12a0815bf15f2bbefbac727a4c0d7e9 | |
parent | Disambiguate `get_ex_outlier_stream_rows` query (diff) | |
download | synapse-4142dca7188656647a5bfcbb593a58af721ebbf2.tar.xz |
Include no actions instead of dont_notify for suppressing edits. (#15016)
Diffstat (limited to '')
-rw-r--r-- | changelog.d/15016.feature | 1 | ||||
-rw-r--r-- | rust/src/push/base_rules.rs | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/15016.feature b/changelog.d/15016.feature new file mode 100644 index 0000000000..b9bb331273 --- /dev/null +++ b/changelog.d/15016.feature @@ -0,0 +1 @@ +Experimental support to suppress notifications from message edits ([MSC3958](https://github.com/matrix-org/matrix-spec-proposals/pull/3958)). diff --git a/rust/src/push/base_rules.rs b/rust/src/push/base_rules.rs index e9af26dd4f..97d0a0a7e2 100644 --- a/rust/src/push/base_rules.rs +++ b/rust/src/push/base_rules.rs @@ -76,7 +76,7 @@ pub const BASE_APPEND_OVERRIDE_RULES: &[PushRule] = &[ pattern_type: None, }, ))]), - actions: Cow::Borrowed(&[Action::DontNotify]), + actions: Cow::Borrowed(&[]), default: true, default_enabled: true, }, |