summary refs log tree commit diff
path: root/synapse/media/v1
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/media/v1')
-rw-r--r--synapse/media/v1/base_resource.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/media/v1/base_resource.py b/synapse/media/v1/base_resource.py
index 2f5440ab64..499be8cca0 100644
--- a/synapse/media/v1/base_resource.py
+++ b/synapse/media/v1/base_resource.py
@@ -139,6 +139,7 @@ class BaseMediaResource(Resource):
             @download.addBoth
             def callback(media_info):
                 del self.downloads[key]
+                return media_info
         return download
 
     @defer.inlineCallbacks