aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Gultsch <inputmice@siacs.eu>2014-12-30 01:13:35 +0100
committerDaniel Gultsch <inputmice@siacs.eu>2014-12-30 01:13:35 +0100
commit04de77261b6b6e26187c9f8c408083faa2728970 (patch)
treed11c33fd36159de5ccfc4215a46501fe23045593
parent5df8e6a5b369d277c4254c2236a1e23b84c81051 (diff)
fixed #818
Diffstat (limited to '')
-rw-r--r--src/main/java/eu/siacs/conversations/parser/IqParser.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/parser/IqParser.java b/src/main/java/eu/siacs/conversations/parser/IqParser.java
index 31006f0f..8e14936e 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