diff options
Diffstat (limited to 'synapse/handlers/typing.py')
-rw-r--r-- | synapse/handlers/typing.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/handlers/typing.py b/synapse/handlers/typing.py index e22393adc4..c5b0e5707e 100644 --- a/synapse/handlers/typing.py +++ b/synapse/handlers/typing.py @@ -57,9 +57,7 @@ class FollowerTypingHandler: self.clock = hs.get_clock() self.is_mine_id = hs.is_mine_id - self.federation = None - if hs.should_send_federation(): - self.federation = hs.get_federation_sender() + self.federation = hs.get_federation_sender() if hs.config.worker.writers.typing != hs.get_instance_name(): hs.get_federation_registry().register_instance_for_edu( |