diff options
author | Erik Johnston <erik@matrix.org> | 2021-04-15 14:13:45 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2021-04-15 14:13:45 +0100 |
commit | 68b9eb694f0896f11f0699a7e01bd7fb9210dba4 (patch) | |
tree | 3e05430849bf3bb4fb9bb4e7843da6a7ac63c7b5 /synapse/notifier.py | |
parent | Remove the federation replication stream and associated commands (diff) | |
download | synapse-erikj/remove_send_queue.tar.xz |
Tidy up hs.get_federation_sender() calls github/erikj/remove_send_queue erikj/remove_send_queue
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() |