summary refs log tree commit diff
diff options
context:
space:
mode:
authorWill Hunt <will@half-shot.uk>2018-06-21 11:05:05 +0100
committerGitHub <noreply@github.com>2018-06-21 11:05:05 +0100
commit1d53129fa3525a59c231f2de50b9e12cc5ce60ad (patch)
treef22e0d86fbb97ddbc698b159d6c3cebb68071bad
parentmedia limits => config (diff)
downloadsynapse-1d53129fa3525a59c231f2de50b9e12cc5ce60ad.tar.xz
upload_size => m.upload.size
-rw-r--r--synapse/rest/media/v1/config_resource.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/media/v1/config_resource.py b/synapse/rest/media/v1/config_resource.py
index 5b1e534823..3fd0288425 100644
--- a/synapse/rest/media/v1/config_resource.py
+++ b/synapse/rest/media/v1/config_resource.py
@@ -25,7 +25,7 @@ class MediaConfigResource(Resource):
         Resource.__init__(self)
         config = hs.get_config()
         self.limits_dict = {
-            "upload_size": config.max_upload_size,
+            "m.upload.size": config.max_upload_size,
         }
 
     def render_GET(self, request):