diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2023-02-03 14:31:14 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-03 14:31:14 -0500 |
commit | b2d97bac0910c4730ea83fbee50abbdce2ba23be (patch) | |
tree | f103ee58de839f2c319f2ba3ee6e1e887db0af98 /synapse/config/experimental.py | |
parent | Properly typecheck tests.app (#14984 (diff) | |
download | synapse-b2d97bac0910c4730ea83fbee50abbdce2ba23be.tar.xz |
Implement MSC3958: suppress notifications from edits (#14960)
Co-authored-by: Brad Murray <brad@beeper.com> Co-authored-by: Nick Barrett <nick@beeper.com> Copy the suppress_edits push rule from Beeper to implement MSC3958. https://github.com/beeper/synapse/blame/9415a1284b1bfb558bd66f28c24ca1611e6c6fa2/rust/src/push/base_rules.rs#L98-L114
Diffstat (limited to 'synapse/config/experimental.py')
-rw-r--r-- | synapse/config/experimental.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/synapse/config/experimental.py b/synapse/config/experimental.py index d2d0270ddd..53c0682dfd 100644 --- a/synapse/config/experimental.py +++ b/synapse/config/experimental.py @@ -173,3 +173,8 @@ class ExperimentalConfig(Config): self.msc3952_intentional_mentions = experimental.get( "msc3952_intentional_mentions", False ) + + # MSC3959: Do not generate notifications for edits. + self.msc3958_supress_edit_notifs = experimental.get( + "msc3958_supress_edit_notifs", False + ) |