mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
Save friend when it is imported from a vCard.
This commit is contained in:
parent
0492c91ba1
commit
147fc9874a
1 changed files with 1 additions and 0 deletions
|
|
@ -840,6 +840,7 @@ int linphone_friend_list_import_friends_from_vcard4_file(LinphoneFriendList *lis
|
|||
LinphoneFriend *lf = linphone_friend_new_from_vcard(vcard);
|
||||
if (lf) {
|
||||
if (LinphoneFriendListOK == linphone_friend_list_import_friend(list, lf, TRUE)) {
|
||||
linphone_friend_save(lf, lf->lc);
|
||||
count++;
|
||||
}
|
||||
linphone_friend_unref(lf);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue