summary refs log tree commit diff
path: root/synapse/handlers/receipts.py
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2018-03-13 11:45:08 +0000
committerGitHub <noreply@github.com>2018-03-13 11:45:08 +0000
commit141c343e030ea32e6c904808dfaded6c839ff8b4 (patch)
treeb0e25cfc9cd8827dac8edf4e0dee242417fd1122 /synapse/handlers/receipts.py
parentMerge pull request #2962 from matrix-org/rav/purge_history_txns (diff)
parentFix docstring types (diff)
downloadsynapse-141c343e030ea32e6c904808dfaded6c839ff8b4.tar.xz
Merge pull request #2976 from matrix-org/erikj/replication_registry
Split out edu/query registration to a separate class
Diffstat (limited to 'synapse/handlers/receipts.py')
-rw-r--r--synapse/handlers/receipts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/receipts.py b/synapse/handlers/receipts.py
index 0525765272..3f215c2b4e 100644
--- a/synapse/handlers/receipts.py
+++ b/synapse/handlers/receipts.py
@@ -35,7 +35,7 @@ class ReceiptsHandler(BaseHandler):
         self.store = hs.get_datastore()
         self.hs = hs
         self.federation = hs.get_federation_sender()
-        hs.get_replication_layer().register_edu_handler(
+        hs.get_federation_registry().register_edu_handler(
             "m.receipt", self._received_remote_receipt
         )
         self.clock = self.hs.get_clock()