fix(core): Minor API change
This commit is contained in:
parent
7a1f737c65
commit
61144a10b3
@ -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,
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user