mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Remove dead code
This commit is contained in:
parent
c8eeef6947
commit
6dfde6d485
@ -459,9 +459,6 @@ class MediaRepository(object):
|
|||||||
|
|
||||||
yield preserve_context_over_fn(threads.deferToThread, generate_thumbnails)
|
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:
|
for t_width, t_height, t_method, t_type, t_byte_source in remote_thumbnails:
|
||||||
def path_name_func(f):
|
def path_name_func(f):
|
||||||
return f.remote_media_thumbnail(
|
return f.remote_media_thumbnail(
|
||||||
|
Loading…
Reference in New Issue
Block a user