mirror of
https://github.com/moparisthebest/Conversations
synced 2024-12-26 01:09:13 -05:00
use presence name not server name when verification is being used
This commit is contained in:
parent
15c8cb8ac6
commit
ade89beb96
@ -105,12 +105,12 @@ public class Contact implements ListItem, Blockable {
|
||||
}
|
||||
|
||||
public String getDisplayName() {
|
||||
if (this.systemName != null && !Config.X509_VERIFICATION) {
|
||||
if (this.presenceName != null && Config.X509_VERIFICATION) {
|
||||
return this.presenceName;
|
||||
} else if (this.systemName != null) {
|
||||
return this.systemName;
|
||||
} else if (this.serverName != null) {
|
||||
return this.serverName;
|
||||
} else if (this.systemName != null) {
|
||||
return this.systemName;
|
||||
} else if (this.presenceName != null) {
|
||||
return this.presenceName;
|
||||
} else if (jid.hasLocalpart()) {
|
||||
|
Loading…
Reference in New Issue
Block a user