summary refs log tree commit diff
path: root/synapse/config/experimental.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2023-03-06 09:43:01 -0500
committerGitHub <noreply@github.com>2023-03-06 09:43:01 -0500
commit05e0a4089a013979e5d0642f6a0f1d22ad865ee1 (patch)
treeacb316c71539d519dca1c98fcbecbbbf6ef4f527 /synapse/config/experimental.py
parentStabilize support for MSC3758: event_property_is push condition (#15185) (diff)
downloadsynapse-05e0a4089a013979e5d0642f6a0f1d22ad865ee1.tar.xz
Stop applying edits to event contents (MSC3925). (#15193)
Enables MSC3925 support by default, which:

* Includes the full edit event in the bundled aggregations of an
  edited event.
* Stops modifying the original event's content to return the new
  content from the edit event.

This is a backwards-incompatible change that is considered to be
"correct" by the spec.
Diffstat (limited to 'synapse/config/experimental.py')
-rw-r--r--synapse/config/experimental.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/synapse/config/experimental.py b/synapse/config/experimental.py
index 9c58cee2c8..489f2601ac 100644
--- a/synapse/config/experimental.py
+++ b/synapse/config/experimental.py
@@ -166,9 +166,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)
-
         # MSC3873: Disambiguate event_match keys.
         self.msc3873_escape_event_match_key = experimental.get(
             "msc3873_escape_event_match_key", False