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
1 changed files with 1 additions and 1 deletions

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) {