mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
fix function linphone_core_inc_invite_pending
This commit is contained in:
parent
744739d6f6
commit
0a4d1c9248
1 changed files with 2 additions and 1 deletions
|
|
@ -2155,7 +2155,8 @@ bool_t linphone_core_inc_invite_pending(LinphoneCore*lc){
|
|||
LinphoneCall *call = linphone_core_get_current_call(lc);
|
||||
if(call != NULL)
|
||||
{
|
||||
if(call->dir==LinphoneCallIncoming)
|
||||
if(call->dir==LinphoneCallIncoming
|
||||
&& (call->state == LinphoneCallIncomingReceived || call->state == LinphoneCallIncomingEarlyMedia))
|
||||
return TRUE;
|
||||
}
|
||||
return FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue