summary refs log tree commit diff
path: root/synapse/rest/media/v1/thumbnail_resource.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2018-05-11 16:07:47 +0100
committerGitHub <noreply@github.com>2018-05-11 16:07:47 +0100
commitc25d7ba12e136a64c4a94964298b66de2e271678 (patch)
tree0a25aae9a5836826d49ea08f6ec88e2ff5c286fa /synapse/rest/media/v1/thumbnail_resource.py
parentMerge pull request #3209 from damir-manapov/master (diff)
parentSet Server header in SynapseRequest (diff)
downloadsynapse-c25d7ba12e136a64c4a94964298b66de2e271678.tar.xz
Merge pull request #3208 from matrix-org/rav/more_refactor_request_handler
Set Server header in SynapseRequest
Diffstat (limited to 'synapse/rest/media/v1/thumbnail_resource.py')
-rw-r--r--synapse/rest/media/v1/thumbnail_resource.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/rest/media/v1/thumbnail_resource.py b/synapse/rest/media/v1/thumbnail_resource.py
index 6c12d79f56..aae6e464e8 100644
--- a/synapse/rest/media/v1/thumbnail_resource.py
+++ b/synapse/rest/media/v1/thumbnail_resource.py
@@ -44,7 +44,6 @@ class ThumbnailResource(Resource):
         self.media_storage = media_storage
         self.dynamic_thumbnails = hs.config.dynamic_thumbnails
         self.server_name = hs.hostname
-        self.version_string = hs.version_string
         self.clock = hs.get_clock()
 
     def render_GET(self, request):