mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-11 01:52:51 -04:00
Implement MSC3925: changes to bundling of edits (#14811)
Two parts to this: * Bundle the whole of the replacement with any edited events. This is backwards-compatible so I haven't put it behind a flag. * Optionally, inhibit server-side replacement of edited events. This has scope to break things, so it is currently disabled by default.
This commit is contained in:
parent
f417fb84b8
commit
06ab64f201
5 changed files with 159 additions and 63 deletions
|
@ -139,3 +139,6 @@ class ExperimentalConfig(Config):
|
|||
|
||||
# MSC3391: Removing account data.
|
||||
self.msc3391_enabled = experimental.get("msc3391_enabled", False)
|
||||
|
||||
# MSC3925: do not replace events with their edits
|
||||
self.msc3925_inhibit_edit = experimental.get("msc3925_inhibit_edit", False)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue