summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-10-12 15:30:26 +0100
committerErik Johnston <erik@matrix.org>2017-10-12 15:30:26 +0100
commit6dfde6d4856695890271232f8a2e4c5f32615dd1 (patch)
treee00123dec7dee62097133d0e605bc86def67a9b5 /synapse/rest
parentFix typos (diff)
downloadsynapse-6dfde6d4856695890271232f8a2e4c5f32615dd1.tar.xz
Remove dead code
Diffstat (limited to 'synapse/rest')
-rw-r--r--synapse/rest/media/v1/media_repository.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/synapse/rest/media/v1/media_repository.py b/synapse/rest/media/v1/media_repository.py
index a16034fd67..1eeb128d2a 100644
--- a/synapse/rest/media/v1/media_repository.py
+++ b/synapse/rest/media/v1/media_repository.py
@@ -459,9 +459,6 @@ class MediaRepository(object):
 
         yield preserve_context_over_fn(threads.deferToThread, generate_thumbnails)
 
-        for r in remote_thumbnails:
-            yield self.store.store_remote_media_thumbnail(*r)
-
         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(