mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-23 09:56:00 +03:00
Add example of config without default homeserver url
This commit is contained in:
parent
5f540a5b45
commit
94afd3e66d
1 changed files with 1 additions and 1 deletions
|
@ -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 */)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue