forked from mirrors/linphone-iphone
Fix photo display for phone numbers
This commit is contained in:
parent
3e0916e2b1
commit
5bbcf7882d
1 changed files with 1 additions and 0 deletions
|
|
@ -159,6 +159,7 @@ static void sync_address_book (ABAddressBookRef addressBook, CFDictionaryRef inf
|
|||
CFStringRef lLabel = ABMultiValueCopyLabelAtIndex(lMap, i);
|
||||
CFStringRef lLocalizedLabel = ABAddressBookCopyLocalizedLabel(lLabel);
|
||||
NSString* lNormalizedKey = [FastAddressBook normalizePhoneNumber:(NSString*)lValue];
|
||||
lNormalizedKey = [FastAddressBook normalizeSipURI:lNormalizedKey];
|
||||
[addressBookMap setObject:lPerson forKey:lNormalizedKey];
|
||||
CFRelease(lValue);
|
||||
if (lLabel) CFRelease(lLabel);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue