diff options
author | Erik Johnston <erik@matrix.org> | 2015-07-23 14:24:21 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-07-23 14:24:21 +0100 |
commit | 33d83f36158a98111c3dceb605a40d962a9e5812 (patch) | |
tree | acf97ff2061449eabe75c695e1fc066e484202f2 /synapse/rest/media/v1/base_resource.py | |
parent | Always return a thumbnail of the requested size. (diff) | |
download | synapse-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.py | 2 |
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) |