Commit 19007584 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Fix crash in remote provisioning tests.

parent fc5296b4
...@@ -322,9 +322,12 @@ void linphone_core_manager_init(LinphoneCoreManager *mgr, const char* rc_file, c ...@@ -322,9 +322,12 @@ void linphone_core_manager_init(LinphoneCoreManager *mgr, const char* rc_file, c
mgr->lc=configure_lc_from(&mgr->v_table, bc_tester_get_resource_dir_prefix(), rc_path, mgr); mgr->lc=configure_lc_from(&mgr->v_table, bc_tester_get_resource_dir_prefix(), rc_path, mgr);
linphone_core_manager_check_accounts(mgr); linphone_core_manager_check_accounts(mgr);
im_notif_policy = linphone_core_get_im_notif_policy(mgr->lc); im_notif_policy = linphone_core_get_im_notif_policy(mgr->lc);
linphone_im_notif_policy_clear(im_notif_policy); if (im_notif_policy != NULL) {
linphone_im_notif_policy_set_send_is_composing(im_notif_policy, TRUE); /* The IM notification policy can be NULL at this point in case of remote provisioning. */
linphone_im_notif_policy_set_recv_is_composing(im_notif_policy, TRUE); linphone_im_notif_policy_clear(im_notif_policy);
linphone_im_notif_policy_set_send_is_composing(im_notif_policy, TRUE);
linphone_im_notif_policy_set_recv_is_composing(im_notif_policy, TRUE);
}
manager_count++; manager_count++;
......
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