mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-09-27 18:19:33 +02:00
Fix stanzaIdAcknowledgedListeners not being called
Replace isNotEmpty(id) with isNullOrEmpty(id)
This commit is contained in:
parent
25bcb6b891
commit
75fd1683d1
|
@ -1688,7 +1688,7 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
String id = ackedStanza.getPacketID();
|
String id = ackedStanza.getPacketID();
|
||||||
if (StringUtils.isNotEmpty(id)) {
|
if (StringUtils.isNullOrEmpty(id)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
PacketListener listener = stanzaIdAcknowledgedListeners.remove(id);
|
PacketListener listener = stanzaIdAcknowledgedListeners.remove(id);
|
||||||
|
|
Loading…
Reference in a new issue