summary refs log tree commit diff
path: root/synapse/handlers/profile.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/profile.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/profile.py')
-rw-r--r--synapse/handlers/profile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/profile.py b/synapse/handlers/profile.py
index c9c2879038..c386c79bbd 100644
--- a/synapse/handlers/profile.py
+++ b/synapse/handlers/profile.py
@@ -32,7 +32,7 @@ class ProfileHandler(BaseHandler):
         super(ProfileHandler, self).__init__(hs)
 
         self.federation = hs.get_replication_layer()
-        self.federation.register_query_handler(
+        hs.get_federation_registry().register_query_handler(
             "profile", self.on_profile_query
         )