mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-30 20:52:21 -05:00
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;
|
return this.systemName;
|
||||||
} else if (this.serverName != null) {
|
} else if (this.serverName != null) {
|
||||||
return this.serverName;
|
return this.serverName;
|
||||||
} else if (this.presenceName != null) {
|
} else if (this.presenceName != null && trusted()) {
|
||||||
return this.presenceName;
|
return this.presenceName;
|
||||||
} else if (jid.hasLocalpart()) {
|
} else if (jid.hasLocalpart()) {
|
||||||
return jid.getLocalpart();
|
return jid.getLocalpart();
|
||||||
|
Loading…
Reference in New Issue
Block a user