From 33b57bd9ac67649fe56a66428215d20fdf48b451 Mon Sep 17 00:00:00 2001 From: Benjamin Reis Date: Mon, 25 Jun 2018 15:17:47 +0200 Subject: [PATCH] remove deprecated methods --- Classes/LinphoneManager.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Classes/LinphoneManager.m b/Classes/LinphoneManager.m index a8d97a7b8..8fec2f9a8 100644 --- a/Classes/LinphoneManager.m +++ b/Classes/LinphoneManager.m @@ -1966,7 +1966,9 @@ void popup_link_account_cb(LinphoneAccountCreator *creator, LinphoneAccountCreat linphone_core_cbs_set_chat_room_state_changed(cbs, linphone_iphone_chatroom_state_changed); linphone_core_cbs_set_user_data(cbs, (__bridge void *)(self)); - theLinphoneCore = linphone_factory_create_core_with_config(factory, cbs, _configDb); + theLinphoneCore = linphone_factory_create_core_with_config_3(factory, _configDb, NULL); + linphone_core_add_callbacks(theLinphoneCore, cbs); + linphone_core_start(theLinphoneCore); // Let the core handle cbs linphone_core_cbs_unref(cbs);