Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 6a9748c

Browse files
committed
Fixup
1 parent cfeb467 commit 6a9748c

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

synapse/http/matrixfederationclient.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -355,9 +355,6 @@ def schedule(x):
355355

356356
self._sleeper = AwakenableSleeper(self.reactor)
357357

358-
self._notifier = hs.get_notifier()
359-
self._replication_client = hs.get_replication_command_handler()
360-
361358
def wake_destination(self, destination: str) -> None:
362359
"""Called when the remote server may have come back online."""
363360

@@ -484,8 +481,8 @@ async def _send_request(
484481
self._store,
485482
backoff_on_404=backoff_on_404,
486483
ignore_backoff=ignore_backoff,
487-
notifier=self._notifier,
488-
replication_client=self._replication_client,
484+
notifier=self.hs.get_notifier(),
485+
replication_client=self.hs.get_replication_command_handler(),
489486
)
490487

491488
method_bytes = request.method.encode("ascii")

0 commit comments

Comments
 (0)