diff options
author | Erik Johnston <erik@matrix.org> | 2018-01-12 13:16:27 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-01-12 13:16:27 +0000 |
commit | dcc8eded4172670137b5dd9be1e4c70328cf85f7 (patch) | |
tree | 000bfa1b6b4261028510519ce1e6311f82db82fa /synapse/rest/media/v1/download_resource.py | |
parent | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/media_stor... (diff) | |
download | synapse-dcc8eded4172670137b5dd9be1e4c70328cf85f7.tar.xz |
Add missing class var
Diffstat (limited to 'synapse/rest/media/v1/download_resource.py')
-rw-r--r-- | synapse/rest/media/v1/download_resource.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/rest/media/v1/download_resource.py b/synapse/rest/media/v1/download_resource.py index 3443db91ca..fe7e17596f 100644 --- a/synapse/rest/media/v1/download_resource.py +++ b/synapse/rest/media/v1/download_resource.py @@ -34,7 +34,10 @@ class DownloadResource(Resource): self.media_repo = media_repo self.server_name = hs.hostname + + # Both of these are expected by @request_handler() self.clock = hs.get_clock() + self.version_string = hs.version_string def render_GET(self, request): self._async_render_GET(request) |