Skip to content

Commit fe2a317

Browse files
committed
Oups, thanks unit tests!
1 parent 3fd961c commit fe2a317

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/login/impl/src/main/kotlin/io/element/android/features/login/impl/changeserver/ChangeServerPresenter.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class ChangeServerPresenter(
6161
accountProviderUrl = data.url,
6262
)
6363
val details = authenticationService.setHomeserver(data.url).getOrThrow()
64-
if (details.isSupported) {
64+
if (!details.isSupported) {
6565
throw ChangeServerError.UnsupportedServer
6666
}
6767
// Homeserver is valid, remember user choice

0 commit comments

Comments
 (0)