Notification contact names

This commit is contained in:
M66B
2020-02-24 10:11:05 +01:00
parent 54746fa785
commit aa8ac076be
2 changed files with 35 additions and 16 deletions

View File

@@ -82,15 +82,6 @@ public class ContactInfo {
return displayName;
}
String getDisplayName(boolean name_email) {
if (!name_email && displayName != null)
return displayName;
else if (displayName == null)
return (email == null ? "" : email);
else
return displayName + " <" + email + ">";
}
boolean hasLookupUri() {
return (lookupUri != null);
}