From 04de77261b6b6e26187c9f8c408083faa2728970 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Tue, 30 Dec 2014 01:13:35 +0100 Subject: [PATCH] fixed #818 --- src/main/java/eu/siacs/conversations/parser/IqParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/parser/IqParser.java b/src/main/java/eu/siacs/conversations/parser/IqParser.java index 31006f0f4..8e14936e6 100644 --- a/src/main/java/eu/siacs/conversations/parser/IqParser.java +++ b/src/main/java/eu/siacs/conversations/parser/IqParser.java @@ -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