0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-03 05:08:59 +01:00

Add missing class var

This commit is contained in:
Erik Johnston 2018-01-12 13:16:27 +00:00
parent 81391fa162
commit dcc8eded41

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)