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

Fix stanzaIdAcknowledgedListeners not being called

Replace isNotEmpty(id) with isNullOrEmpty(id)
This commit is contained in:
Florian Schmaus 2015-01-17 14:11:21 +01:00
parent 25bcb6b891
commit 75fd1683d1

View file

@ -1688,7 +1688,7 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
}
}
String id = ackedStanza.getPacketID();
if (StringUtils.isNotEmpty(id)) {
if (StringUtils.isNullOrEmpty(id)) {
return;
}
PacketListener listener = stanzaIdAcknowledgedListeners.remove(id);