mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-26 00:02:06 +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:
parent
7ebea7ce94
commit
bfcb403673
1 changed files with 1 additions and 1 deletions
|
@ -1720,7 +1720,7 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
|
||||||
}
|
}
|
||||||
String id = ackedStanza.getStanzaId();
|
String id = ackedStanza.getStanzaId();
|
||||||
if (StringUtils.isNullOrEmpty(id)) {
|
if (StringUtils.isNullOrEmpty(id)) {
|
||||||
return;
|
continue;
|
||||||
}
|
}
|
||||||
PacketListener listener = stanzaIdAcknowledgedListeners.remove(id);
|
PacketListener listener = stanzaIdAcknowledgedListeners.remove(id);
|
||||||
if (listener != null) {
|
if (listener != null) {
|
||||||
|
|
Loading…
Reference in a new issue