mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-05 22:36:34 +00:00
Oups, thanks unit tests!
This commit is contained in:
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user