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 e0a4cd01ee..2bd29d2288 100644
--- a/synapse/media/v1/media_repository.py
+++ b/synapse/media/v1/media_repository.py
@@ -15,6 +15,7 @@
 
 from .upload_resource import UploadResource
 from .download_resource import DownloadResource
+from .thumbnail_resource import ThumbnailResource
 from .filepath import MediaFilePaths
 
 from twisted.web.resource import Resource
@@ -64,3 +65,4 @@ class MediaRepositoryResource(Resource):
         filepaths = MediaFilePaths(hs.config.media_store_path)
         self.putChild("upload", UploadResource(hs, filepaths))
         self.putChild("download", DownloadResource(hs, filepaths))
+        self.putChild("thumbnail", ThumbnailResource(hs, filepaths))