mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 00:54:47 -04:00
Split replication layer into two
This commit is contained in:
parent
e05bf34117
commit
265b993b8a
12 changed files with 19 additions and 27 deletions
|
@ -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
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue