From 61144a10b3fc538efe8122799ef371a4c61e7398 Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Sat, 11 Mar 2023 19:01:55 +0100 Subject: [PATCH] fix(core): Minor API change --- packages/moxxmpp/lib/src/connection.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/moxxmpp/lib/src/connection.dart b/packages/moxxmpp/lib/src/connection.dart index bd70256..eb1f906 100644 --- a/packages/moxxmpp/lib/src/connection.dart +++ b/packages/moxxmpp/lib/src/connection.dart @@ -1241,7 +1241,7 @@ class XmppConnection { /// If [waitUntilLogin] is set to true, the future will resolve when either /// the connection has been successfully established (authentication included) or /// a failure occured. If set to false, then the future will immediately resolve - /// to false. + /// to true. /// /// [enableReconnectOnSuccess] indicates that automatic reconnection is to be /// enabled once the connection has been successfully established. @@ -1276,7 +1276,7 @@ class XmppConnection { } else { return Future.value( const Result( - false, + true, ), ); }