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

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