Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Backout changes for automatically calculating the public baseurl #9313

Merged
merged 9 commits into from
Feb 11, 2021
Prev Previous commit
Next Next commit
Add a clarifying comment.
  • Loading branch information
clokep committed Feb 8, 2021
commit d5554d38fecf661c2846ab505b3b1d229a6825ed
2 changes: 2 additions & 0 deletions synapse/handlers/identity.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,8 @@ async def requestMsisdnToken(
except RequestTimedOutError:
raise SynapseError(500, "Timed out contacting identity server")

# It is already checked that public_baseurl is configured since this code
# should only be used if account_threepid_delegate_msisdn is true.
assert self.hs.config.public_baseurl

# we need to tell the client to send the token back to us, since it doesn't
Expand Down