mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-25 21:42:07 +01:00
Set smWasEnableAtLeastOnce before sync point
to allow users to add stanza acknowledged listeners in ConnectionListener.authenticated().
This commit is contained in:
parent
5dd2bb5874
commit
59d3f55003
1 changed files with 1 additions and 1 deletions
|
@ -1095,8 +1095,8 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
|
||||||
// Mark this a aon-resumable stream by setting smSessionId to null
|
// Mark this a aon-resumable stream by setting smSessionId to null
|
||||||
smSessionId = null;
|
smSessionId = null;
|
||||||
}
|
}
|
||||||
smEnabledSyncPoint.reportSuccess();
|
|
||||||
smWasEnabledAtLeastOnce = true;
|
smWasEnabledAtLeastOnce = true;
|
||||||
|
smEnabledSyncPoint.reportSuccess();
|
||||||
LOGGER.fine("Stream Management (XEP-198): succesfully enabled");
|
LOGGER.fine("Stream Management (XEP-198): succesfully enabled");
|
||||||
break;
|
break;
|
||||||
case Failed.ELEMENT:
|
case Failed.ELEMENT:
|
||||||
|
|
Loading…
Reference in a new issue