show xep-0172 nick only for contacts with mutual presence subscription
This commit is contained in:
parent
49de43b364
commit
73679b97f1
|
@ -116,7 +116,7 @@ public class Contact implements ListItem, Blockable {
|
|||
return this.systemName;
|
||||
} else if (this.serverName != null) {
|
||||
return this.serverName;
|
||||
} else if (this.presenceName != null) {
|
||||
} else if (this.presenceName != null && trusted()) {
|
||||
return this.presenceName;
|
||||
} else if (jid.hasLocalpart()) {
|
||||
return jid.getLocalpart();
|
||||
|
|
Loading…
Reference in a new issue