mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-21 19:42:05 +01:00
Fix stanzaIdAcknowledgedListeners not being called
Replace isNotEmpty(id) with isNullOrEmpty(id)
This commit is contained in:
parent
25bcb6b891
commit
75fd1683d1
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue