mirror of
https://github.com/moparisthebest/Conversations
synced 2025-01-06 03:08:03 -05:00
fixed #818
This commit is contained in:
parent
5df8e6a5b3
commit
04de77261b
@ -72,7 +72,7 @@ public class IqParser extends AbstractParser implements OnIqPacketReceived {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static boolean fromServer(final Account account, final IqPacket packet) {
|
public static boolean fromServer(final Account account, final IqPacket packet) {
|
||||||
return packet.getFrom() == null || packet.getFrom().equals(account.getServer()) || packet.getFrom().equals(account.getJid().toBareJid());
|
return packet.getFrom() == null || packet.getFrom().equals(account.getServer()) || packet.getFrom().toBareJid().equals(account.getJid().toBareJid());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user