fix: Well known lookup at login

This commit is contained in:
Krille Fear 2021-12-04 19:54:07 +01:00
parent 6d5ecdc376
commit 3cc9922a39

View File

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