diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-04-21 16:43:58 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-04-21 16:43:58 +0100 |
commit | 812a99100bb86e3a09b3e5739c849e55c74cf448 (patch) | |
tree | da944231f7ec1198f1e10a1b67fcd98d8ee639be /synapse/rest/media | |
parent | Combine the request wrappers in rest/media/v1 and http/server into a single w... (diff) | |
download | synapse-812a99100bb86e3a09b3e5739c849e55c74cf448.tar.xz |
Set a version_string in BaseMediaResource so that the request_handler wrapper works
Diffstat (limited to 'synapse/rest/media')
-rw-r--r-- | synapse/rest/media/v1/base_resource.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/rest/media/v1/base_resource.py b/synapse/rest/media/v1/base_resource.py index fc078fca82..edd4f78024 100644 --- a/synapse/rest/media/v1/base_resource.py +++ b/synapse/rest/media/v1/base_resource.py @@ -57,6 +57,7 @@ class BaseMediaResource(Resource): self.max_upload_size = hs.config.max_upload_size self.max_image_pixels = hs.config.max_image_pixels self.filepaths = filepaths + self.version_string = hs.version_string self.downloads = {} def _respond_404(self, request): |