mirror of
https://github.com/element-hq/synapse.git
synced 2026-05-06 09:16:29 +00:00
22e1643359
Known problems: https://github.com/element-hq/synapse/issues/18117 As a follow-up, we should consider removing this config option altogether. It's "expensive" and claims to "prevent bugs" but actually introduces a whole new class of bugs. It could be re-introduced with a more holistic solution to the typing. Or a completely new approach (safe mode that blows up when someone mutates the event content, always make deep clones when handing out references, etc) The `use_frozen_dict` config option was there [since inception](https://github.com/element-hq/synapse/commit/a7b65bdedf512f646a3ca2478fb96a914856de35) but was only recently [documented](https://github.com/element-hq/synapse/pull/18122) for completeness sake.