Merge branch 'krille/fix-well-known-login' into 'main'

fix: Well known lookup at login

Closes #677

See merge request famedly/fluffychat!604
This commit is contained in:
Krille Fear 2021-12-04 19:12:17 +00:00
commit 9db362a649

View File

@ -155,6 +155,9 @@ class LoginController extends State<Login> {
AppConfig.jitsiInstance = jitsi;
}
setState(() => usernameError = null);
} else {
setState(() =>
Matrix.of(context).getLoginClient().homeserver = oldHomeserver);
}
} catch (e) {
setState(() => usernameError = e.toString());