summary refs log tree commit diff
path: root/synapse/rest/media/v1
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-10-13 10:39:59 +0100
committerErik Johnston <erik@matrix.org>2017-10-13 10:39:59 +0100
commite3428d26ca5a23a3dac6d106aff8ac19f9839f32 (patch)
tree4c942d89dd707f137f007c28711e0500530eb88e /synapse/rest/media/v1
parentFix up comments (diff)
downloadsynapse-e3428d26ca5a23a3dac6d106aff8ac19f9839f32.tar.xz
Fix typo
Diffstat (limited to 'synapse/rest/media/v1')
-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 f3a5b19a80..76220a5531 100644
--- a/synapse/rest/media/v1/media_repository.py
+++ b/synapse/rest/media/v1/media_repository.py
@@ -395,7 +395,7 @@ class MediaRepository(object):
 
             t_len = os.path.getsize(output_path)
 
-            yield self.store.store_local_thumbnail_rel(
+            yield self.store.store_local_thumbnail(
                 media_id, t_width, t_height, t_type, t_method, t_len
             )