mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-30 01:39:20 +00:00
Fix call log removal when using the database storage.
This commit is contained in:
parent
eec47ba456
commit
7532be6692
1 changed files with 1 additions and 1 deletions
|
|
@ -4595,8 +4595,8 @@ void linphone_core_remove_call_log(LinphoneCore *lc, LinphoneCallLog *cl) {
|
|||
linphone_core_delete_call_log(lc, cl);
|
||||
}
|
||||
#endif
|
||||
lc->call_logs = bctbx_list_remove(lc->call_logs, cl);
|
||||
if (!call_logs_sqlite_db_found) {
|
||||
lc->call_logs = bctbx_list_remove(lc->call_logs, cl);
|
||||
call_logs_write_to_config_file(lc);
|
||||
linphone_call_log_unref(cl);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue