When importing friend from vcard, disable presence because currently it takes too much time when dealing with hundreds of vcards/friends

This commit is contained in:
Sylvain Berfini 2015-12-21 17:25:09 +01:00
parent 0d9eed4ef1
commit f291f53e43

View file

@ -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) {