diff options
Diffstat (limited to 'synapse/server.py')
-rw-r--r-- | synapse/server.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/server.py b/synapse/server.py index 8955c32cc4..2136061f1c 100644 --- a/synapse/server.py +++ b/synapse/server.py @@ -457,10 +457,8 @@ class HomeServer(object): def build_federation_sender(self): if self.should_send_federation(): return FederationSender(self) - elif not self.config.worker_app: - return FederationRemoteSendQueue(self) else: - raise Exception("Workers cannot send federation traffic") + return FederationRemoteSendQueue(self) def build_receipts_handler(self): return ReceiptsHandler(self) |