diff options
author | Erik Johnston <erik@matrix.org> | 2018-01-09 15:53:23 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-01-09 15:53:23 +0000 |
commit | b6c9deffda94f230085d9974379643497749e7f5 (patch) | |
tree | a963693d40d3f7e238eea93d0a491500867bd5b6 /synapse/rest/media/v1/thumbnail_resource.py | |
parent | Remove dead code related to default thumbnails (diff) | |
download | synapse-b6c9deffda94f230085d9974379643497749e7f5.tar.xz |
Remove dead TODO
Diffstat (limited to 'synapse/rest/media/v1/thumbnail_resource.py')
-rw-r--r-- | synapse/rest/media/v1/thumbnail_resource.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/synapse/rest/media/v1/thumbnail_resource.py b/synapse/rest/media/v1/thumbnail_resource.py index 779fd3e9bc..70dbf7f5c9 100644 --- a/synapse/rest/media/v1/thumbnail_resource.py +++ b/synapse/rest/media/v1/thumbnail_resource.py @@ -198,8 +198,6 @@ class ThumbnailResource(Resource): @defer.inlineCallbacks def _respond_remote_thumbnail(self, request, server_name, media_id, width, height, method, m_type): - # TODO: Don't download the whole remote file - # We should proxy the thumbnail from the remote server instead. thumbnail_infos = yield self.store.get_remote_media_thumbnails( server_name, media_id, ) |