fix(core): Minor API change

This commit is contained in:
PapaTutuWawa 2023-03-11 19:01:55 +01:00
parent 7a1f737c65
commit 61144a10b3

View File

@ -1241,7 +1241,7 @@ class XmppConnection {
/// If [waitUntilLogin] is set to true, the future will resolve when either /// If [waitUntilLogin] is set to true, the future will resolve when either
/// the connection has been successfully established (authentication included) or /// the connection has been successfully established (authentication included) or
/// a failure occured. If set to false, then the future will immediately resolve /// 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 /// [enableReconnectOnSuccess] indicates that automatic reconnection is to be
/// enabled once the connection has been successfully established. /// enabled once the connection has been successfully established.
@ -1276,7 +1276,7 @@ class XmppConnection {
} else { } else {
return Future.value( return Future.value(
const Result( const Result(
false, true,
), ),
); );
} }