diff --git a/lib/utils/sign_in_flows/check_homeserver.dart b/lib/utils/sign_in_flows/check_homeserver.dart index 6a0e441cf..1466215b5 100644 --- a/lib/utils/sign_in_flows/check_homeserver.dart +++ b/lib/utils/sign_in_flows/check_homeserver.dart @@ -1,3 +1,4 @@ +import 'package:fluffychat/config/setting_keys.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; @@ -65,6 +66,8 @@ Future connectToHomeserverFlow( return; } + await AppSettings.defaultHomeserver.setItem(homeserverInput); + if (context.mounted) { setState(AsyncSnapshot.withData(ConnectionState.done, true)); }