summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-10-12 15:32:32 +0100
committerErik Johnston <erik@matrix.org>2017-10-12 15:32:32 +0100
commitb77a13812c38b2e79b2ebfddb52ce88a2ac8e9b9 (patch)
tree1440c73c638d9a31977faa5339f80dc8a32a0bcf /synapse
parentRemove dead code (diff)
downloadsynapse-b77a13812c38b2e79b2ebfddb52ce88a2ac8e9b9.tar.xz
Typo
Diffstat (limited to 'synapse')
-rw-r--r--synapse/rest/media/v1/media_repository.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/media/v1/media_repository.py b/synapse/rest/media/v1/media_repository.py
index 1eeb128d2a..93b35af9cf 100644
--- a/synapse/rest/media/v1/media_repository.py
+++ b/synapse/rest/media/v1/media_repository.py
@@ -462,7 +462,7 @@ class MediaRepository(object):
         for t_width, t_height, t_method, t_type, t_byte_source in remote_thumbnails:
             def path_name_func(f):
                 return f.remote_media_thumbnail(
-                    server_name, media_id, file_id, t_width, t_height, t_type, t_method
+                    server_name, file_id, t_width, t_height, t_type, t_method
                 )
 
             yield self._write_to_file(t_byte_source, path_name_func)