mirror of
https://github.com/element-hq/synapse
synced 2024-09-12 07:05:12 +00:00
Set a version_string in BaseMediaResource so that the request_handler wrapper works
This commit is contained in:
parent
1967650bc4
commit
812a99100b
1 changed files with 1 additions and 0 deletions
|
@ -57,6 +57,7 @@ class BaseMediaResource(Resource):
|
||||||
self.max_upload_size = hs.config.max_upload_size
|
self.max_upload_size = hs.config.max_upload_size
|
||||||
self.max_image_pixels = hs.config.max_image_pixels
|
self.max_image_pixels = hs.config.max_image_pixels
|
||||||
self.filepaths = filepaths
|
self.filepaths = filepaths
|
||||||
|
self.version_string = hs.version_string
|
||||||
self.downloads = {}
|
self.downloads = {}
|
||||||
|
|
||||||
def _respond_404(self, request):
|
def _respond_404(self, request):
|
||||||
|
|
Loading…
Reference in a new issue