Commit 688eb45a authored by Benjamin REIS's avatar Benjamin REIS
Browse files

simpler if

parent 32292e27
......@@ -543,10 +543,9 @@ static LinphoneFriendListStatus _linphone_friend_list_add_friend(LinphoneFriendL
linphone_friend_save(lf, lf->lc);
}
if (list->rls_uri == NULL) {
/* Mimic the behaviour of linphone_core_add_friend() when a resource list server is not in use */
if (!list->rls_uri) // Mimic the behaviour of linphone_core_add_friend() when a resource list server is not in use */
linphone_friend_apply(lf, lf->lc);
}
return status;
}
......
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