0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-17 23:42:33 +01:00

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, medium,
threepid_creds["client_secret"], threepid_creds["client_secret"],
sid=threepid_creds["sid"], sid=threepid_creds["sid"],
validated=True,
) )
threepid = { threepid = {

View file

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