Commit f291f53e authored by Sylvain Berfini's avatar Sylvain Berfini 🎩
Browse files

When importing friend from vcard, disable presence because currently it takes...

When importing friend from vcard, disable presence because currently it takes too much time when dealing with hundreds of vcards/friends
parent 0d9eed4e
......@@ -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) {
......
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