Add example of config without default homeserver url

This commit is contained in:
Benoit Marty 2019-12-07 11:05:18 +01:00
parent 5f540a5b45
commit 94afd3e66d
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ internal class DefaultAuthenticationService @Inject constructor(@Unauthenticated
return getLoginFlowResult(newAuthAPI, versions, riotConfig.defaultHomeServerUrl)
} else {
// Config exists, but we cannot retrieve a default homeserver url
// Config exists, but there is no default homeserver url (ex: https://riot.im/app)
throw Failure.OtherServerError("", HttpsURLConnection.HTTP_NOT_FOUND /* 404 */)
}
}