diff options
author | Erik Johnston <erik@matrix.org> | 2018-03-12 16:17:08 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-03-13 10:24:27 +0000 |
commit | c3f79c9da56931453ab86a4c726da5a02f18fe1e (patch) | |
tree | d06b4ff02b8fd178572002d34a9305af87ad564c /synapse/handlers/directory.py | |
parent | Merge pull request #2962 from matrix-org/rav/purge_history_txns (diff) | |
download | synapse-c3f79c9da56931453ab86a4c726da5a02f18fe1e.tar.xz |
Split out edu/query registration to a separate class
Diffstat (limited to 'synapse/handlers/directory.py')
-rw-r--r-- | synapse/handlers/directory.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/directory.py b/synapse/handlers/directory.py index 8580ada60a..e955cb1f3c 100644 --- a/synapse/handlers/directory.py +++ b/synapse/handlers/directory.py @@ -37,7 +37,7 @@ class DirectoryHandler(BaseHandler): self.event_creation_handler = hs.get_event_creation_handler() self.federation = hs.get_replication_layer() - self.federation.register_query_handler( + hs.get_federation_registry().register_query_handler( "directory", self.on_directory_query ) |