summary refs log tree commit diff
path: root/synapse/rest/media/v1/thumbnail_resource.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2021-03-23 07:12:48 -0400
committerGitHub <noreply@github.com>2021-03-23 07:12:48 -0400
commitb7748d3c00e87df8c49346e67d643916487254e4 (patch)
tree3885f68ea97285d8af6c786434c603fb8ee17f33 /synapse/rest/media/v1/thumbnail_resource.py
parentAllow providing credentials to HTTPS_PROXY (#9657) (diff)
downloadsynapse-b7748d3c00e87df8c49346e67d643916487254e4.tar.xz
Import HomeServer from the proper module. (#9665)
Diffstat (limited to 'synapse/rest/media/v1/thumbnail_resource.py')
-rw-r--r--synapse/rest/media/v1/thumbnail_resource.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/media/v1/thumbnail_resource.py b/synapse/rest/media/v1/thumbnail_resource.py
index fbcd50f1e2..af802bc0b1 100644
--- a/synapse/rest/media/v1/thumbnail_resource.py
+++ b/synapse/rest/media/v1/thumbnail_resource.py
@@ -34,8 +34,8 @@ from ._base import (
 )
 
 if TYPE_CHECKING:
-    from synapse.app.homeserver import HomeServer
     from synapse.rest.media.v1.media_repository import MediaRepository
+    from synapse.server import HomeServer
 
 logger = logging.getLogger(__name__)