mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-17 12:30:07 +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)
|
return getLoginFlowResult(newAuthAPI, versions, riotConfig.defaultHomeServerUrl)
|
||||||
} else {
|
} 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 */)
|
throw Failure.OtherServerError("", HttpsURLConnection.HTTP_NOT_FOUND /* 404 */)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue