Commit 54a3e8a0 authored by Sylvain Berfini's avatar Sylvain Berfini 🐮
Browse files

Remove ifdef preventing friends to be written to rc file

parent f6e09bcc
......@@ -919,13 +919,10 @@ void linphone_core_write_friends_config(LinphoneCore* lc) {
MSList *elem;
int i;
int store_friends;
if (! linphone_core_ready(lc)) return; /*dont write config when reading it !*/
store_friends = lp_config_get_int(lc->config, "misc", "store_friends", 1);
if (store_friends) {
for (elem=linphone_core_get_default_friend_list(lc)->friends,i=0; elem!=NULL; elem=ms_list_next(elem),i++){
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