This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
Restores support for default_server_name
which discovers URLs via .well-known
#2669
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
#2327 previously added support for a
default_server_name
config property which when set, will trigger a.well-known
discovery to find the default HS and IS URLs.Some of this got lost in the recent auth churn, so this restores that functionality, and also adds further tweaks from element-hq/element-web#8763 to the text around accounts.
In these screenshots,
onett.local
is my local machine where I set up a dummy.well-known
pointed elsewhere. My local Riot is then set to use"default_server_name": "onett.local"
.Each commit in this PR has additional context in the commit message, so you may want to review commit by commit.
Fixes element-hq/element-web#8763.