From 3cc9922a39d589a441cccf13b23e69269715e83e Mon Sep 17 00:00:00 2001 From: Krille Fear Date: Sat, 4 Dec 2021 19:54:07 +0100 Subject: [PATCH] fix: Well known lookup at login --- lib/pages/login/login.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/pages/login/login.dart b/lib/pages/login/login.dart index 4afbdc06..e3f8afde 100644 --- a/lib/pages/login/login.dart +++ b/lib/pages/login/login.dart @@ -155,6 +155,9 @@ class LoginController extends State { AppConfig.jitsiInstance = jitsi; } setState(() => usernameError = null); + } else { + setState(() => + Matrix.of(context).getLoginClient().homeserver = oldHomeserver); } } catch (e) { setState(() => usernameError = e.toString());