mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-30 09:49:26 +00:00
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