Fix defaults on checking threepids

This commit is contained in:
Erik Johnston 2019-06-10 23:09:31 +01:00
parent 78e74ab8a1
commit 49e01e5710
2 changed files with 2 additions and 1 deletions

View File

@ -479,6 +479,7 @@ class AuthHandler(BaseHandler):
medium,
threepid_creds["client_secret"],
sid=threepid_creds["sid"],
validated=True,
)
threepid = {

View File

@ -998,7 +998,7 @@ class RegistrationStore(
client_secret,
address=None,
sid=None,
validated=None,
validated=True,
):
"""Gets a session_id and last_send_attempt (if available) for a
client_secret/medium/(address|session_id) combo