diff options
Diffstat (limited to 'synapse/notifier.py')
-rw-r--r-- | synapse/notifier.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/notifier.py b/synapse/notifier.py index d5ab77058d..782b6729fa 100644 --- a/synapse/notifier.py +++ b/synapse/notifier.py @@ -227,9 +227,7 @@ class Notifier: self.appservice_handler = hs.get_application_service_handler() self._pusher_pool = hs.get_pusherpool() - self.federation_sender = None - if hs.should_send_federation(): - self.federation_sender = hs.get_federation_sender() + self.federation_sender = hs.get_federation_sender() self.state_handler = hs.get_state_handler() |