mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-09 04:12:37 -04:00
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.
9415a1284b/rust/src/push/base_rules.rs (L98-L114)
This commit is contained in:
parent
e301ee6189
commit
b2d97bac09
9 changed files with 76 additions and 2 deletions
|
@ -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
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue