mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-24 06:38:08 +00:00
Optimize fetching of friends from database (there's absolutely no need to save a friend when fetching from DB).
This commit is contained in:
parent
2f64a54b23
commit
e9980c6ca7
1 changed files with 0 additions and 2 deletions
|
|
@ -1640,8 +1640,6 @@ bctbx_list_t* linphone_core_fetch_friends_from_db(LinphoneCore *lc, LinphoneFrie
|
|||
}
|
||||
iterator = bctbx_list_next(iterator);
|
||||
}
|
||||
|
||||
linphone_friend_save(lf, lc); /* required if we freshly created vcard but core was not set at this time */
|
||||
}
|
||||
linphone_vcard_context_set_user_data(lc->vcard_context, NULL);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue