apperently some servers will ommit the from even for stanzas not going to them
This commit is contained in:
parent
75a485cbc1
commit
c52492ada0
|
@ -774,7 +774,7 @@ public class XmppConnection implements Runnable {
|
||||||
Log.e(Config.LOGTAG, account.getJid().toBareJid().toString() + ": ignoring spoofed iq packet");
|
Log.e(Config.LOGTAG, account.getJid().toBareJid().toString() + ": ignoring spoofed iq packet");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (packet.getFrom().equals(packetCallbackDuple.first.getTo())) {
|
if (packet.getFrom() != null && packet.getFrom().equals(packetCallbackDuple.first.getTo())) {
|
||||||
callback = packetCallbackDuple.second;
|
callback = packetCallbackDuple.second;
|
||||||
packetCallbacks.remove(packet.getId());
|
packetCallbacks.remove(packet.getId());
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue