Extract homeserver URL from fully qualified user id

Also lookup the .well-known entry and use it if available.

Change-Id: I609046f01860fd5e3ba8cb801006e6098a4ad840
This commit is contained in:
Michael Albert 2020-04-30 21:22:35 +02:00 committed by Manuel Stahl
parent 2d0ce50444
commit 50b770a312
3 changed files with 88 additions and 46 deletions

View file

@ -4,8 +4,9 @@ export default {
...englishMessages,
synapseadmin: {
auth: {
homeserver: "Homeserver",
base_url: "Homeserver URL",
welcome: "Welcome to Synapse-admin",
username_error: "Please enter fully qualified user ID: '@user:domain'",
protocol_error: "URL has to start with 'http://' or 'https://'",
url_error: "Not a valid Matrix server URL",
},