summary refs log tree commit diff
path: root/synapse/config/repository.py
diff options
context:
space:
mode:
authorTravis Ralston <travisr@element.io>2024-11-20 07:48:22 -0700
committerGitHub <noreply@github.com>2024-11-20 14:48:22 +0000
commitd0a474d312443a0ef6ebdbd9c6d3b3fd24a3500c (patch)
tree1a73b0dd5bce9c9cb667a935ae67b87fa9933f83 /synapse/config/repository.py
parentSupport both import names of PyPI package `python-multipart`. (#17932) (diff)
downloadsynapse-d0a474d312443a0ef6ebdbd9c6d3b3fd24a3500c.tar.xz
Enable authenticated media by default (#17889)
Co-authored-by: Olivier 'reivilibre <oliverw@matrix.org>
Diffstat (limited to 'synapse/config/repository.py')
-rw-r--r--synapse/config/repository.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/config/repository.py b/synapse/config/repository.py

index 97ce6de528..27860154e1 100644 --- a/synapse/config/repository.py +++ b/synapse/config/repository.py
@@ -272,9 +272,7 @@ class ContentRepositoryConfig(Config): remote_media_lifetime ) - self.enable_authenticated_media = config.get( - "enable_authenticated_media", False - ) + self.enable_authenticated_media = config.get("enable_authenticated_media", True) def generate_config_section(self, data_dir_path: str, **kwargs: Any) -> str: assert data_dir_path is not None