mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-31 02:09:22 +00:00
get contact pictures with full name
This commit is contained in:
parent
bb7458e276
commit
e82cfa3211
1 changed files with 5 additions and 3 deletions
|
|
@ -69,9 +69,11 @@
|
|||
contactError);
|
||||
} else {
|
||||
if (contact.imageDataAvailable) {
|
||||
NSArray *addresses = contact.instantMessageAddresses;
|
||||
[self.imgs setObject:contact.imageData forKey:contact.givenName];
|
||||
printf("Ajout de l'image de %s\n", contact.givenName.UTF8String);
|
||||
[self.imgs setObject:contact.imageData
|
||||
forKey:[contact.givenName stringByAppendingFormat:
|
||||
([contact.familyName isEqualToString:@""])?@"":@" %@", contact.familyName]];
|
||||
printf("Ajout de l'image de %s\n", [contact.givenName stringByAppendingFormat:
|
||||
([contact.familyName isEqualToString:@""])?@"":@" %@", contact.familyName].UTF8String);
|
||||
}
|
||||
}
|
||||
}];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue