Added a comment to explain why presence is disabled when importing friends from vcards

This commit is contained in:
Sylvain Berfini 2015-12-21 17:30:33 +01:00
parent f291f53e43
commit 06b099d137

View file

@ -835,6 +835,7 @@ LinphoneFriend *linphone_friend_new_from_vcard(LinphoneVCard *vcard) {
sipAddresses = linphone_vcard_get_sip_addresses(vcard);
fr = linphone_friend_new();
// Currently presence takes too much time when dealing with hundreds of friends, so I disabled it for now
fr->pol = LinphoneSPDeny;
fr->subscribe = FALSE;