Commit a9c557ae authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Do not store calls made to conference factory inside database

parent d97c796d
......@@ -940,6 +940,15 @@ void linphone_call_update_ice_from_remote_media_description(LinphoneCall *call,
void linphone_core_report_call_log(LinphoneCore *lc, LinphoneCallLog *call_log){
bool_t call_logs_sqlite_db_found = FALSE;
// Do not add calls made to the conference factory in the history
char *to = linphone_address_as_string(call_log->to);
const char *conference_factory_uri = linphone_core_get_conference_factory_uri(lc);
if (strcmp(conference_factory_uri, to) == 0) {
ms_free(to);
return;
}
ms_free(to);
#ifdef SQLITE_STORAGE_ENABLED
if (lc->logs_db) {
call_logs_sqlite_db_found = TRUE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment