From 06b099d13763234d19c0e4d07bfc8ef4a1efafb8 Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Mon, 21 Dec 2015 17:30:33 +0100 Subject: [PATCH] Added a comment to explain why presence is disabled when importing friends from vcards --- coreapi/friend.c | 1 + 1 file changed, 1 insertion(+) diff --git a/coreapi/friend.c b/coreapi/friend.c index 4ed650f25..852d14a25 100644 --- a/coreapi/friend.c +++ b/coreapi/friend.c @@ -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;