diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-03-23 07:12:48 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-23 07:12:48 -0400 |
commit | b7748d3c00e87df8c49346e67d643916487254e4 (patch) | |
tree | 3885f68ea97285d8af6c786434c603fb8ee17f33 /synapse/rest/client/v2_alpha | |
parent | Allow providing credentials to HTTPS_PROXY (#9657) (diff) | |
download | synapse-b7748d3c00e87df8c49346e67d643916487254e4.tar.xz |
Import HomeServer from the proper module. (#9665)
Diffstat (limited to 'synapse/rest/client/v2_alpha')
-rw-r--r-- | synapse/rest/client/v2_alpha/account.py | 2 | ||||
-rw-r--r-- | synapse/rest/client/v2_alpha/groups.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/synapse/rest/client/v2_alpha/account.py b/synapse/rest/client/v2_alpha/account.py index adf1d39728..c2ba790bab 100644 --- a/synapse/rest/client/v2_alpha/account.py +++ b/synapse/rest/client/v2_alpha/account.py @@ -45,7 +45,7 @@ from synapse.util.threepids import canonicalise_email, check_3pid_allowed from ._base import client_patterns, interactive_auth_handler if TYPE_CHECKING: - from synapse.app.homeserver import HomeServer + from synapse.server import HomeServer logger = logging.getLogger(__name__) diff --git a/synapse/rest/client/v2_alpha/groups.py b/synapse/rest/client/v2_alpha/groups.py index 5901432fad..08fb6b2b06 100644 --- a/synapse/rest/client/v2_alpha/groups.py +++ b/synapse/rest/client/v2_alpha/groups.py @@ -38,7 +38,7 @@ from synapse.types import GroupID, JsonDict from ._base import client_patterns if TYPE_CHECKING: - from synapse.app.homeserver import HomeServer + from synapse.server import HomeServer logger = logging.getLogger(__name__) |