Retrieve the displayName rather the address part of the email address

maint-2.0.2
Wolfgang Sourdeau 2012-09-26 17:07:19 -04:00
parent bc4e281e0f
commit 2711e0a0db
1 changed files with 1 additions and 1 deletions

View File

@ -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 = @"";