summary refs log tree commit diff
path: root/synapse/rest/media
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/rest/media')
-rw-r--r--synapse/rest/media/v1/preview_url_resource.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/synapse/rest/media/v1/preview_url_resource.py b/synapse/rest/media/v1/preview_url_resource.py
index c20de57991..582dd20fa6 100644
--- a/synapse/rest/media/v1/preview_url_resource.py
+++ b/synapse/rest/media/v1/preview_url_resource.py
@@ -63,9 +63,6 @@ class PreviewUrlResource(BaseMediaResource):
             url = request.args.get("url")[0]
             ts = request.args.get("ts")[0] if "ts" in request.args else self.clock.time_msec()
 
-            # TODO: keep track of whether there's an ongoing request for this preview
-            # and block and return their details if there is one.
-
             # first check the memory cache - good to handle all the clients on this
             # HS thundering away to preview the same URL at the same time.
             try: