[Presence] disable p2p presence on friend creation on first launch

This commit is contained in:
Brieuc Viel 2016-09-15 11:51:42 +02:00
parent 53add0efe2
commit 74c2f77b97

View file

@ -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);
}
}