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");
|
||||
}
|
||||
} 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…
Reference in New Issue