Commit af9e7991 authored by DanmeiChen's avatar DanmeiChen

Featre/fix no lime x3dh without network

parent d3d0e92d
......@@ -2426,6 +2426,10 @@ static void linphone_core_init(LinphoneCore * lc, LinphoneCoreCbs *cbs, LpConfig
if (automatically_start) {
linphone_core_start(lc);
}
LinphoneConfig *lpconfig = linphone_core_get_config(lc);
bool enableLime = linphone_config_get_bool(lpconfig, "lime", "enable_lime_x3dh", TRUE);
linphone_core_enable_lime_x3dh(lc, enableLime);
}
void linphone_core_start (LinphoneCore *lc) {
......
......@@ -1336,7 +1336,6 @@ void linphone_proxy_config_update(LinphoneProxyConfig *cfg){
linphone_proxy_config_activate_sip_setup(cfg);
}
if (can_register(cfg)){
linphone_core_enable_lime_x3dh(lc, cfg->lime_x3dh);
linphone_proxy_config_register(cfg);
cfg->commit=FALSE;
}
......
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