1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-22 06:12:05 +01:00

Fix Stream Management ack listner invocation

aborting to early, because of a 'return' statement, when 'continue'
should be used.

Thanks to Daniele Ricci for reporting this bug.
This commit is contained in:
Florian Schmaus 2015-02-19 23:01:38 +01:00
parent 7ebea7ce94
commit bfcb403673

View file

@ -1720,7 +1720,7 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
}
String id = ackedStanza.getStanzaId();
if (StringUtils.isNullOrEmpty(id)) {
return;
continue;
}
PacketListener listener = stanzaIdAcknowledgedListeners.remove(id);
if (listener != null) {