mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-13 01:08:50 +00:00
(fix) fallback to email if no cn is found (should avoid displaying bogus chips)
This commit is contained in:
@@ -546,7 +546,7 @@
|
||||
person = [participants objectAtIndex: i];
|
||||
|
||||
if (![[person delegatedTo] length])
|
||||
[a addObject: [NSDictionary dictionaryWithObjectsAndKeys: ([person cnWithoutQuotes] ? [person cnWithoutQuotes] : [person rfc822Email]), @"name",
|
||||
[a addObject: [NSDictionary dictionaryWithObjectsAndKeys: ([[person cnWithoutQuotes] length] ? [person cnWithoutQuotes] : [person rfc822Email]), @"name",
|
||||
[person rfc822Email], @"email",
|
||||
[[person partStatWithDefault] lowercaseString], @"partstat", nil]];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user