Factor out msisdn canonicalisation

Plus a couple of other minor fixes
This commit is contained in:
David Baker 2017-03-08 11:03:39 +00:00
parent 402a7bf63d
commit 88df6c0c9a
4 changed files with 11 additions and 41 deletions

View file

@ -321,7 +321,7 @@ class AuthHandler(BaseHandler):
defer.returnValue(True)
@defer.inlineCallbacks
def _check_threepid(self, medium, authdict, ):
def _check_threepid(self, medium, authdict):
yield run_on_reactor()
if 'threepid_creds' not in authdict: