mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-09-26 17:49:33 +02:00
Request SM ack when re-sending after stream resumption
Fixes SMACK-667.
This commit is contained in:
parent
d97b115170
commit
576980097e
|
@ -1117,6 +1117,12 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
|
||||||
}
|
}
|
||||||
smResumedSyncPoint.reportSuccess();
|
smResumedSyncPoint.reportSuccess();
|
||||||
smEnabledSyncPoint.reportSuccess();
|
smEnabledSyncPoint.reportSuccess();
|
||||||
|
// If there where stanzas resent, then request a SM ack for them.
|
||||||
|
// Writer's sendStreamElement() won't do it automatically based on
|
||||||
|
// predicates.
|
||||||
|
if (!stanzasToResend.isEmpty()) {
|
||||||
|
requestSmAcknowledgementInternal();
|
||||||
|
}
|
||||||
LOGGER.fine("Stream Management (XEP-198): Stream resumed");
|
LOGGER.fine("Stream Management (XEP-198): Stream resumed");
|
||||||
break;
|
break;
|
||||||
case AckAnswer.ELEMENT:
|
case AckAnswer.ELEMENT:
|
||||||
|
|
Loading…
Reference in a new issue