From 74c2f77b974635e127087819681f183329bb2b48 Mon Sep 17 00:00:00 2001 From: Brieuc Viel Date: Thu, 15 Sep 2016 11:51:42 +0200 Subject: [PATCH] [Presence] disable p2p presence on friend creation on first launch --- Classes/Contact.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Classes/Contact.m b/Classes/Contact.m index cd33657f3..0437ef971 100644 --- a/Classes/Contact.m +++ b/Classes/Contact.m @@ -58,6 +58,8 @@ #endif } if (_friend) { + linphone_friend_enable_subscribes(_friend, FALSE); + linphone_friend_set_inc_subscribe_policy(_friend, LinphoneSPDeny); linphone_core_add_friend(LC, _friend); } }