Add missing class var

This commit is contained in:
Erik Johnston 2018-01-12 13:16:27 +00:00
parent 81391fa162
commit dcc8eded41
1 changed files with 3 additions and 0 deletions

View File

@ -34,7 +34,10 @@ class DownloadResource(Resource):
self.media_repo = media_repo self.media_repo = media_repo
self.server_name = hs.hostname self.server_name = hs.hostname
# Both of these are expected by @request_handler()
self.clock = hs.get_clock() self.clock = hs.get_clock()
self.version_string = hs.version_string
def render_GET(self, request): def render_GET(self, request):
self._async_render_GET(request) self._async_render_GET(request)