Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Rename synapse module to internal due to conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
anoadragon453 committed Sep 3, 2020
1 parent cb7c903 commit 76e9000
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion synapse/app/homeserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def _configure_named_resource(self, name, compress=False):
resources["/_matrix/saml2"] = SAML2Resource(self)

if self.get_config().threepid_behaviour_email == ThreepidBehaviour.LOCAL:
from synapse.rest.synapse.client import PasswordResetRestResource
from synapse.rest.internal.client import PasswordResetRestResource

password_reset = PasswordResetRestResource(self)
resources["/_synapse/client/password_reset"] = password_reset
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from typing import TYPE_CHECKING

from synapse.http.server import JsonResource
from synapse.rest.synapse.client import password_reset
from synapse.rest.internal.client import password_reset

if TYPE_CHECKING:
from synapse.server import HomeServer
Expand Down
2 changes: 1 addition & 1 deletion tests/rest/client/v2_alpha/test_account.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from synapse.api.errors import Codes
from synapse.rest.client.v1 import login, room
from synapse.rest.client.v2_alpha import account, register
from synapse.rest.synapse.client import password_reset
from synapse.rest.internal.client import password_reset

from tests import unittest

Expand Down

0 comments on commit 76e9000

Please sign in to comment.