mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-10 18:15:58 +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();
|
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