diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-05-02 22:08:51 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-05-02 22:08:51 +0200 |
commit | f0dd75c02572ab2500b4abc6abbc6e5784050328 (patch) | |
tree | b32472cffcee51c401677812f6efae7a317a4283 /src/main/java/de/pixart/messenger/entities | |
parent | dbb0cfac4bf7870093c5033e31bfff6ca71b11d4 (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.java | 4 |
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) { |