Oups, thanks unit tests!

This commit is contained in:
Benoit Marty
2025-11-07 14:11:37 +01:00
parent a067945103
commit 6619a2fbcf

View File

@@ -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