fixed omemo by default setting for users on same domain. fixes #3006

This commit is contained in:
Daniel Gultsch 2018-05-01 23:18:05 +02:00
parent d3b20544c9
commit 90135131c0
1 changed files with 2 additions and 2 deletions

View File

@ -446,8 +446,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) {