summary refs log tree commit diff
path: root/synapse/federation/transport/server/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/federation/transport/server/__init__.py')
-rw-r--r--synapse/federation/transport/server/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/transport/server/__init__.py b/synapse/federation/transport/server/__init__.py
index 5f997040d0..72599bb204 100644
--- a/synapse/federation/transport/server/__init__.py
+++ b/synapse/federation/transport/server/__init__.py
@@ -321,7 +321,7 @@ def register_servlets(
                 servletclass == FederationMediaDownloadServlet
                 or servletclass == FederationMediaThumbnailServlet
             ):
-                if not hs.config.server.enable_media_repo:
+                if not hs.config.media.can_load_media_repo:
                     continue
 
             servletclass(