mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-10 22:05:06 -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
|
@ -743,7 +743,7 @@ class HomeServer(metaclass=abc.ABCMeta):
|
|||
|
||||
@cache_in_self
|
||||
def get_event_client_serializer(self) -> EventClientSerializer:
|
||||
return EventClientSerializer()
|
||||
return EventClientSerializer(self.config.experimental.msc3925_inhibit_edit)
|
||||
|
||||
@cache_in_self
|
||||
def get_password_policy_handler(self) -> PasswordPolicyHandler:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue