diff options
Diffstat (limited to 'synapse/replication/http/federation.py')
-rw-r--r-- | synapse/replication/http/federation.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/synapse/replication/http/federation.py b/synapse/replication/http/federation.py index 7e23b565b9..0a11743845 100644 --- a/synapse/replication/http/federation.py +++ b/synapse/replication/http/federation.py @@ -277,8 +277,10 @@ class ReplicationStoreRoomOnInviteRestServlet(ReplicationEndpoint): def register_servlets(hs, http_server): - ReplicationFederationSendEventsRestServlet(hs).register(http_server) + if hs.config.worker_app is None: + ReplicationFederationSendEventsRestServlet(hs).register(http_server) + ReplicationGetQueryRestServlet(hs).register(http_server) + ReplicationCleanRoomRestServlet(hs).register(http_server) + ReplicationStoreRoomOnInviteRestServlet(hs).register(http_server) + ReplicationFederationSendEduRestServlet(hs).register(http_server) - ReplicationGetQueryRestServlet(hs).register(http_server) - ReplicationCleanRoomRestServlet(hs).register(http_server) - ReplicationStoreRoomOnInviteRestServlet(hs).register(http_server) |