diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2023-02-08 13:09:41 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-08 13:09:41 -0500 |
commit | c951fbedcb81895c199c1f4cfe2251d6c3a7b5f4 (patch) | |
tree | d93fe5b70b38da87f3daaf1192fd4a9333ddb4fa /synapse/config/experimental.py | |
parent | Document how to run Synapse (#15022) (diff) | |
download | synapse-c951fbedcb81895c199c1f4cfe2251d6c3a7b5f4.tar.xz |
MSC3873: Escape keys when flattening dicts. (#15004)
This disambiguates keys which attempt to match fields with a dot in them (e.g. m.relates_to). Disabled by default behind an experimental configuration flag.
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 53c0682dfd..5e3a889081 100644 --- a/synapse/config/experimental.py +++ b/synapse/config/experimental.py @@ -169,6 +169,11 @@ class ExperimentalConfig(Config): # MSC3925: do not replace events with their edits self.msc3925_inhibit_edit = experimental.get("msc3925_inhibit_edit", False) + # MSC3873: Disambiguate event_match keys. + self.msc3783_escape_event_match_key = experimental.get( + "msc3783_escape_event_match_key", False + ) + # MSC3952: Intentional mentions self.msc3952_intentional_mentions = experimental.get( "msc3952_intentional_mentions", False |