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