aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/entities
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-05-02 22:08:51 +0200
committerChristian Schneppe <christian@pix-art.de>2018-05-02 22:08:51 +0200
commitf0dd75c02572ab2500b4abc6abbc6e5784050328 (patch)
treeb32472cffcee51c401677812f6efae7a317a4283 /src/main/java/de/pixart/messenger/entities
parentdbb0cfac4bf7870093c5033e31bfff6ca71b11d4 (diff)
fixed omemo by default setting for users on same domain
Diffstat (limited to 'src/main/java/de/pixart/messenger/entities')
-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) {