mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-12 16:58:51 +00:00
(fix) allow multiple space-delimited addresses in the MailFieldNames column
This commit is contained in:
@@ -520,7 +520,7 @@
|
||||
for (i = 0; i < [_mailFields count]; i++)
|
||||
if ((s = [response objectForKey: [_mailFields objectAtIndex: i]]) &&
|
||||
[[s stringByTrimmingSpaces] length] > 0)
|
||||
[emails addObject: s];
|
||||
[emails addObjectsFromArray: [s componentsSeparatedByString: @" "]];
|
||||
}
|
||||
|
||||
[response setObject: emails forKey: @"c_emails"];
|
||||
|
||||
Reference in New Issue
Block a user