diff options
author | J. Ryan Stinnett <jryans@gmail.com> | 2019-09-24 13:55:23 +0100 |
---|---|---|
committer | J. Ryan Stinnett <jryans@gmail.com> | 2019-09-24 13:55:23 +0100 |
commit | 567a4384efe999fb2e1b2b9d8fa0fab9ac57f301 (patch) | |
tree | b7abe0f9fab0b9e19aa021920018fd5e1423cae4 | |
parent | Add changelog (diff) | |
download | synapse-github/jryans/email-sid.tar.xz |
Fix style github/jryans/email-sid jryans/email-sid
-rw-r--r-- | synapse/handlers/identity.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/handlers/identity.py b/synapse/handlers/identity.py index adafde004d..6d42a1aed8 100644 --- a/synapse/handlers/identity.py +++ b/synapse/handlers/identity.py @@ -332,10 +332,10 @@ class IdentityHandler(BaseHandler): if next_link: # Manipulate the next_link to add the sid, because the caller won't get # it until we send a response, by which time we've sent the mail. - if '?' in next_link: - next_link += '&' + if "?" in next_link: + next_link += "&" else: - next_link += '?' + next_link += "?" next_link += "sid=" + urllib.parse.quote(session_id) # Generate a new validation token |