This commit is contained in:
Erik Johnston 2018-03-26 12:06:48 +01:00
parent 8d6dc106d1
commit 44cd6e1358

View File

@ -46,7 +46,9 @@ class RegistrationHandler(BaseHandler):
self.macaroon_gen = hs.get_macaroon_generator() self.macaroon_gen = hs.get_macaroon_generator()
self._generate_user_id_linearizer = Linearizer(name="_generate_user_id_linearizer") self._generate_user_id_linearizer = Linearizer(
name="_generate_user_id_linearizer",
)
@defer.inlineCallbacks @defer.inlineCallbacks
def check_username(self, localpart, guest_access_token=None, def check_username(self, localpart, guest_access_token=None,