apperently some servers will ommit the from even for stanzas not going to them
This commit is contained in:
parent
e769f1d3ce
commit
5bd64647ac
1 changed files with 1 additions and 1 deletions
|
@ -774,7 +774,7 @@ public class XmppConnection implements Runnable {
|
|||
Log.e(Config.LOGTAG, account.getJid().toBareJid().toString() + ": ignoring spoofed iq packet");
|
||||
}
|
||||
} else {
|
||||
if (packet.getFrom().equals(packetCallbackDuple.first.getTo())) {
|
||||
if (packet.getFrom() != null && packet.getFrom().equals(packetCallbackDuple.first.getTo())) {
|
||||
callback = packetCallbackDuple.second;
|
||||
packetCallbacks.remove(packet.getId());
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue