mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
fix crash in linphone-android when receiving a SUBSCRIBE because LinphoneFriend::lc is not set.
This commit is contained in:
parent
d18a67deff
commit
467acd3d1b
1 changed files with 1 additions and 0 deletions
|
|
@ -1447,6 +1447,7 @@ void linphone_core_add_subscriber(LinphoneCore *lc, const char *subscriber, SalO
|
|||
char *tmp;
|
||||
|
||||
if (fl==NULL) return ;
|
||||
fl->lc = lc;
|
||||
linphone_friend_add_incoming_subscription(fl, op);
|
||||
linphone_friend_set_inc_subscribe_policy(fl,LinphoneSPAccept);
|
||||
fl->inc_subscribe_pending=TRUE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue