Give public_baseurl a default value (#9159)

This commit is contained in:
Richard van der Hoff 2021-01-20 12:30:41 +00:00 committed by GitHub
parent fa842a9866
commit fa50e4bf4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 48 additions and 83 deletions

View file

@ -476,8 +476,6 @@ class IdentityHandler(BaseHandler):
except RequestTimedOutError:
raise SynapseError(500, "Timed out contacting identity server")
assert self.hs.config.public_baseurl
# we need to tell the client to send the token back to us, since it doesn't
# otherwise know where to send it, so add submit_url response parameter
# (see also MSC2078)