This commit is contained in:
Daniel Gultsch 2014-12-30 01:13:35 +01:00
parent 5df8e6a5b3
commit 04de77261b
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ public class IqParser extends AbstractParser implements OnIqPacketReceived {
}
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