mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-06 23:43:19 +00:00
fix(addressbook): handle vCard with multiple title values
This commit is contained in:
@@ -320,9 +320,9 @@
|
||||
|
||||
o = [card nickname];
|
||||
if (o) [data setObject: o forKey: @"nickname"];
|
||||
o = [card title];
|
||||
if ([o length] > 0)
|
||||
[data setObject: o forKey: @"title"];
|
||||
o = [card titles];
|
||||
if ([o count])
|
||||
[data setObject: [o componentsJoinedByString: @" / "] forKey: @"title"];
|
||||
o = [card role];
|
||||
if ([o length] > 0)
|
||||
[data setObject: o forKey: @"role"];
|
||||
|
||||
Reference in New Issue
Block a user