summary refs log tree commit diff
path: root/tests/server.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2023-03-09 10:18:42 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2023-03-09 16:50:31 +0000
commit1b30b82ac694e62d6346d3510b3e31f3fe03071b (patch)
treed9fc0fbc90b775326347c2d5603be001b5a04b27 /tests/server.py
parentMove callback-related code from ThirdPartyEventRules to its own class (diff)
downloadsynapse-1b30b82ac694e62d6346d3510b3e31f3fe03071b.tar.xz
Move callback-related code from the PresenceRouter to its own class
Diffstat (limited to '')
-rw-r--r--tests/server.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/server.py b/tests/server.py
index 512dda55d7..787f558069 100644
--- a/tests/server.py
+++ b/tests/server.py
@@ -71,10 +71,12 @@ from twisted.web.server import Request, Site
 
 from synapse.config.database import DatabaseConnectionConfig
 from synapse.config.homeserver import HomeServerConfig
-from synapse.events.presence_router import load_legacy_presence_router
 from synapse.handlers.auth import load_legacy_password_auth_providers
 from synapse.http.site import SynapseRequest
 from synapse.logging.context import ContextResourceUsage
+from synapse.module_api.callbacks.presence_router_callbacks import (
+    load_legacy_presence_router,
+)
 from synapse.module_api.callbacks.spam_checker_callbacks import (
     load_legacy_spam_checkers,
 )