summary refs log tree commit diff
path: root/synapse/config/repository.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-01-18 17:14:05 +0000
committerErik Johnston <erik@matrix.org>2018-01-18 17:14:05 +0000
commitd69768348fc053dd6e243479acceabbdd6167238 (patch)
treef0514948dd42adb8e342ee401c57ba950625e9e1 /synapse/config/repository.py
parentRemove duplicate directory test (diff)
downloadsynapse-d69768348fc053dd6e243479acceabbdd6167238.tar.xz
Fix passing wrong config to provider constructor
Diffstat (limited to 'synapse/config/repository.py')
-rw-r--r--synapse/config/repository.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/repository.py b/synapse/config/repository.py
index 364e823cd3..25ea77738a 100644
--- a/synapse/config/repository.py
+++ b/synapse/config/repository.py
@@ -135,7 +135,7 @@ class ContentRepositoryConfig(Config):
             )
 
             self.media_storage_providers.append(
-                (provider_class, provider_config, wrapper_config,)
+                (provider_class, parsed_config, wrapper_config,)
             )
 
         self.uploads_path = self.ensure_directory(config["uploads_path"])