summary refs log tree commit diff
path: root/synapse/media/v1/media_repository.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/media/v1/media_repository.py')
-rw-r--r--synapse/media/v1/media_repository.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/media/v1/media_repository.py b/synapse/media/v1/media_repository.py
index afd92874cf..e0a4cd01ee 100644
--- a/synapse/media/v1/media_repository.py
+++ b/synapse/media/v1/media_repository.py
@@ -14,6 +14,7 @@
 # limitations under the License.
 
 from .upload_resource import UploadResource
+from .download_resource import DownloadResource
 from .filepath import MediaFilePaths
 
 from twisted.web.resource import Resource
@@ -62,3 +63,4 @@ class MediaRepositoryResource(Resource):
         Resource.__init__(self)
         filepaths = MediaFilePaths(hs.config.media_store_path)
         self.putChild("upload", UploadResource(hs, filepaths))
+        self.putChild("download", DownloadResource(hs, filepaths))