diff --git a/coreapi/friend.c b/coreapi/friend.c index ac2ad9970..4ed650f25 100644 --- a/coreapi/friend.c +++ b/coreapi/friend.c @@ -835,6 +835,9 @@ LinphoneFriend *linphone_friend_new_from_vcard(LinphoneVCard *vcard) { sipAddresses = linphone_vcard_get_sip_addresses(vcard); fr = linphone_friend_new(); + fr->pol = LinphoneSPDeny; + fr->subscribe = FALSE; + linphone_friend_set_vcard(fr, vcard); if (sipAddresses) {