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

Commit

Permalink
Set blank m.identity_server in login response if not configured
Browse files Browse the repository at this point in the history
  • Loading branch information
Fizzadar committed Oct 16, 2023
1 parent b71dc0f commit e6e3c78
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions synapse/rest/well_known.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ def get_well_known(self) -> Optional[JsonDict]:
result["m.identity_server"] = {
"base_url": self._config.registration.default_identity_server
}
else:
# Workaround for iOS expecting some value here
result["m.identity_server"] = {"base_url": ""}

# We use the MSC3861 values as they are used by multiple MSCs
if self._config.experimental.msc3861.enabled:
Expand Down

0 comments on commit e6e3c78

Please sign in to comment.