mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-24 14:48:07 +00:00
Fixed lost contacts issue when switching to another config file
This commit is contained in:
parent
f344a34547
commit
073a25a534
1 changed files with 1 additions and 1 deletions
|
|
@ -1366,7 +1366,7 @@ void linphone_core_migrate_friends_from_rc_to_db(LinphoneCore *lc) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (ms_list_size(linphone_friend_list_get_friends(lfl)) > 0) {
|
||||
if (ms_list_size(linphone_friend_list_get_friends(lfl)) > 0 && lfl->storage_id == 0) {
|
||||
linphone_core_remove_friend_list(lc, lfl);
|
||||
lfl = linphone_core_create_friend_list(lc);
|
||||
linphone_core_add_friend_list(lc, lfl);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue