mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-22 21:39:28 +00:00
Retrieve the displayName rather the address part of the email address
This commit is contained in:
@@ -692,7 +692,7 @@ _compareBodyKeysByPriority (id entry1, id entry2, void *data)
|
||||
ngAddress = [[NGMailAddressParser mailAddressParserWithString: fullMail]
|
||||
parse];
|
||||
if ([ngAddress isKindOfClass: [NGMailAddress class]])
|
||||
cn = [ngAddress address];
|
||||
cn = [ngAddress displayName];
|
||||
else
|
||||
cn = @"";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user