diff options
author | Will Hunt <will@half-shot.uk> | 2018-06-21 11:05:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-21 11:05:05 +0100 |
commit | 1d53129fa3525a59c231f2de50b9e12cc5ce60ad (patch) | |
tree | f22e0d86fbb97ddbc698b159d6c3cebb68071bad | |
parent | media limits => config (diff) | |
download | synapse-1d53129fa3525a59c231f2de50b9e12cc5ce60ad.tar.xz |
upload_size => m.upload.size
-rw-r--r-- | synapse/rest/media/v1/config_resource.py | 2 |
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): |