Split out edu/query registration to a separate class

This commit is contained in:
Erik Johnston 2018-03-12 16:17:08 +00:00
parent d65ceb4b48
commit c3f79c9da5
10 changed files with 90 additions and 60 deletions

View file

@ -40,7 +40,7 @@ class E2eKeysHandler(object):
# doesn't really work as part of the generic query API, because the
# query request requires an object POST, but we abuse the
# "query handler" interface.
self.federation.register_query_handler(
hs.get_federation_registry().register_query_handler(
"client_keys", self.on_federation_query_client_keys
)