summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--synapse/config/workers.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/synapse/config/workers.py b/synapse/config/workers.py
index 2580660b6c..0b03ad223e 100644
--- a/synapse/config/workers.py
+++ b/synapse/config/workers.py
@@ -174,7 +174,10 @@ class WorkerConfig(Config):
             "synapse.app.federation_sender",
             "federation_sender_instances",
         )
-        self.send_federation = self.instance_name in federation_sender_instances
+        self.send_federation = (self.instance_name in federation_sender_instances) or (
+            not federation_sender_instances and self.instance_name == "master"
+        )
+
         self.federation_shard_config = ShardedWorkerHandlingConfig(
             federation_sender_instances
         )