Oups, thanks unit tests!
This commit is contained in:
parent
a067945103
commit
6619a2fbcf
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ class ChangeServerPresenter(
|
||||||
accountProviderUrl = data.url,
|
accountProviderUrl = data.url,
|
||||||
)
|
)
|
||||||
val details = authenticationService.setHomeserver(data.url).getOrThrow()
|
val details = authenticationService.setHomeserver(data.url).getOrThrow()
|
||||||
if (details.isSupported) {
|
if (!details.isSupported) {
|
||||||
throw ChangeServerError.UnsupportedServer
|
throw ChangeServerError.UnsupportedServer
|
||||||
}
|
}
|
||||||
// Homeserver is valid, remember user choice
|
// Homeserver is valid, remember user choice
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue