1 files changed, 5 insertions, 0 deletions
diff --git a/synapse/http/matrixfederationclient.py b/synapse/http/matrixfederationclient.py
index df99c53041..29d341835a 100644
--- a/synapse/http/matrixfederationclient.py
+++ b/synapse/http/matrixfederationclient.py
@@ -358,6 +358,9 @@ class MatrixFederationHttpClient:
self._sleeper = AwakenableSleeper(self.reactor)
+ self._notifier = hs.get_notifier()
+ self._replication_client = hs.get_replication_command_handler()
+
def wake_destination(self, destination: str) -> None:
"""Called when the remote server may have come back online."""
@@ -484,6 +487,8 @@ class MatrixFederationHttpClient:
self._store,
backoff_on_404=backoff_on_404,
ignore_backoff=ignore_backoff,
+ notifier=self._notifier,
+ replication_client=self._replication_client,
)
method_bytes = request.method.encode("ascii")
|