diff options
author | Erik Johnston <erikj@jki.re> | 2019-02-20 07:47:31 +0000 |
---|---|---|
committer | Amber Brown <hawkowl@atleastfornow.net> | 2019-02-20 18:47:31 +1100 |
commit | dbdc565dfdca0e689f816b7614dea6530cd54843 (patch) | |
tree | ff0717180b6b722527890862cc3fb46d09522f72 /synapse/replication/http/membership.py | |
parent | Run unit tests against python 3.7 (#4677) (diff) | |
download | synapse-dbdc565dfdca0e689f816b7614dea6530cd54843.tar.xz |
Fix registration on workers (#4682)
* Move RegistrationHandler init to HomeServer * Move post registration actions to RegistrationHandler * Add post regisration replication endpoint * Newsfile
Diffstat (limited to 'synapse/replication/http/membership.py')
-rw-r--r-- | synapse/replication/http/membership.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/replication/http/membership.py b/synapse/replication/http/membership.py index e58bebf12a..81a2b204c7 100644 --- a/synapse/replication/http/membership.py +++ b/synapse/replication/http/membership.py @@ -191,7 +191,7 @@ class ReplicationRegister3PIDGuestRestServlet(ReplicationEndpoint): def __init__(self, hs): super(ReplicationRegister3PIDGuestRestServlet, self).__init__(hs) - self.registeration_handler = hs.get_handlers().registration_handler + self.registeration_handler = hs.get_registration_handler() self.store = hs.get_datastore() self.clock = hs.get_clock() @@ -251,7 +251,7 @@ class ReplicationUserJoinedLeftRoomRestServlet(ReplicationEndpoint): def __init__(self, hs): super(ReplicationUserJoinedLeftRoomRestServlet, self).__init__(hs) - self.registeration_handler = hs.get_handlers().registration_handler + self.registeration_handler = hs.get_registration_handler() self.store = hs.get_datastore() self.clock = hs.get_clock() self.distributor = hs.get_distributor() |