diff options
author | Erik Johnston <erik@matrix.org> | 2016-06-15 16:58:12 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-06-15 16:58:12 +0100 |
commit | 09a17f965cf55dca45983473ed744f539b9ec92e (patch) | |
tree | d965bdb03c84fdf9cda85645a5b9b49d4e6eb6db /synapse/rest/media | |
parent | Handle floats as img widths (diff) | |
download | synapse-09a17f965cf55dca45983473ed744f539b9ec92e.tar.xz |
Line lengths
Diffstat (limited to 'synapse/rest/media')
-rw-r--r-- | synapse/rest/media/v1/preview_url_resource.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/rest/media/v1/preview_url_resource.py b/synapse/rest/media/v1/preview_url_resource.py index a6807df620..74c64f1371 100644 --- a/synapse/rest/media/v1/preview_url_resource.py +++ b/synapse/rest/media/v1/preview_url_resource.py @@ -288,9 +288,9 @@ class PreviewUrlResource(Resource): og['og:image'] = images[0].attrib['src'] # pre-cache the image for posterity - # FIXME: it might be cleaner to use the same flow as the main /preview_url request - # itself and benefit from the same caching etc. But for now we just rely on the - # caching on the master request to speed things up. + # FIXME: it might be cleaner to use the same flow as the main /preview_url + # request itself and benefit from the same caching etc. But for now we + # just rely on the caching on the master request to speed things up. if 'og:image' in og and og['og:image']: image_info = yield self._download_url( self._rebase_url(og['og:image'], media_info['uri']), requester.user |