aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/de/pixart/messenger/entities/Contact.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/de/pixart/messenger/entities/Contact.java b/src/main/java/de/pixart/messenger/entities/Contact.java
index 8112c4a3c..1cd6a1a37 100644
--- a/src/main/java/de/pixart/messenger/entities/Contact.java
+++ b/src/main/java/de/pixart/messenger/entities/Contact.java
@@ -518,8 +518,8 @@ public class Contact implements ListItem, Blockable {
return account.getJid().asBareJid().equals(jid.asBareJid());
}
- public boolean isOwnServer() {
- return account.getJid().getDomain().equals(jid.getDomain());
+ boolean isOwnServer() {
+ return account.getJid().getDomain().equals(jid.asBareJid().toString());
}
public void setCommonName(String cn) {