fixed omemo by default setting for users on same domain. fixes #3006
This commit is contained in:
parent
d3b20544c9
commit
90135131c0
|
@ -446,8 +446,8 @@ public class Contact implements ListItem, Blockable {
|
||||||
return account.getJid().asBareJid().equals(jid.asBareJid());
|
return account.getJid().asBareJid().equals(jid.asBareJid());
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isOwnServer() {
|
boolean isOwnServer() {
|
||||||
return account.getJid().getDomain().equals(jid.getDomain());
|
return account.getJid().getDomain().equals(jid.asBareJid().toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setCommonName(String cn) {
|
public void setCommonName(String cn) {
|
||||||
|
|
Loading…
Reference in New Issue