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