Split replication layer into two

This commit is contained in:
Erik Johnston 2018-03-12 14:34:31 +00:00
parent e05bf34117
commit 265b993b8a
12 changed files with 19 additions and 27 deletions

View file

@ -31,7 +31,7 @@ class ProfileHandler(BaseHandler):
def __init__(self, hs):
super(ProfileHandler, self).__init__(hs)
self.federation = hs.get_replication_layer()
self.federation = hs.get_replication_client()
hs.get_federation_registry().register_query_handler(
"profile", self.on_profile_query
)