Appease the linter
This commit is contained in:
parent
e2fdeec71a
commit
10f4d6b419
1 changed files with 0 additions and 2 deletions
|
@ -81,7 +81,6 @@ export default class AutoDiscoveryUtils {
|
|||
*/
|
||||
static async validateServerConfigWithStaticUrls(
|
||||
homeserverUrl: string, identityUrl: string, syntaxOnly = false): ValidatedServerConfig {
|
||||
|
||||
if (!homeserverUrl) {
|
||||
throw newTranslatableError(_td("No homeserver URL provided"));
|
||||
}
|
||||
|
@ -126,7 +125,6 @@ export default class AutoDiscoveryUtils {
|
|||
*/
|
||||
static buildValidatedConfigFromDiscovery(
|
||||
serverName: string, discoveryResult, syntaxOnly=false): ValidatedServerConfig {
|
||||
|
||||
if (!discoveryResult || !discoveryResult["m.homeserver"]) {
|
||||
// This shouldn't happen without major misconfiguration, so we'll log a bit of information
|
||||
// in the log so we can find this bit of codee but otherwise tell teh user "it broke".
|
||||
|
|
Loading…
Reference in a new issue