mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-21 03:15:25 +00:00
Fixed broken encoding of single-value element
This commit is contained in:
@@ -218,11 +218,11 @@ static NSArray *privilegedTagNames = nil;
|
||||
length: contentLength];
|
||||
free (content);
|
||||
content = NULL;
|
||||
// NSLog (@"content: '%@'", s);
|
||||
//NSLog(@"content: '%@'", s);
|
||||
if ([privilegedTagNames containsObject: [currentElement tag]])
|
||||
contentValues = [s vCardSubvalues];
|
||||
else
|
||||
contentValues = [NSMutableDictionary dictionaryWithObject: [NSMutableArray arrayWithObject: [NSMutableArray arrayWithObject: s]]
|
||||
contentValues = [NSMutableDictionary dictionaryWithObject: [NSMutableArray arrayWithObject: [s asCardAttributeValues]]
|
||||
forKey: @""];
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user