summary refs log tree commit diff
path: root/synapse/rest/media/v1/base_resource.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-07-23 14:24:21 +0100
committerErik Johnston <erik@matrix.org>2015-07-23 14:24:21 +0100
commit33d83f36158a98111c3dceb605a40d962a9e5812 (patch)
treeacf97ff2061449eabe75c695e1fc066e484202f2 /synapse/rest/media/v1/base_resource.py
parentAlways return a thumbnail of the requested size. (diff)
downloadsynapse-33d83f36158a98111c3dceb605a40d962a9e5812.tar.xz
Fix remote thumbnailing
Diffstat (limited to 'synapse/rest/media/v1/base_resource.py')
-rw-r--r--synapse/rest/media/v1/base_resource.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/media/v1/base_resource.py b/synapse/rest/media/v1/base_resource.py
index 00668b3862..74c0cd093c 100644
--- a/synapse/rest/media/v1/base_resource.py
+++ b/synapse/rest/media/v1/base_resource.py
@@ -284,7 +284,7 @@ class BaseMediaResource(Resource):
                 return
 
             t_path = self.filepaths.remote_media_thumbnail(
-                media_id, t_width, t_height, t_type, t_method
+                server_name, file_id, t_width, t_height, t_type, t_method
             )
             self._makedirs(t_path)