mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
do not set lc->current_call for a call that is in a conference
This commit is contained in:
parent
495e3ab7b9
commit
b7dacbd01a
1 changed files with 4 additions and 2 deletions
|
|
@ -333,7 +333,8 @@ static void call_accepted(SalOp *op){
|
|||
}
|
||||
linphone_core_update_streams (lc,call,md);
|
||||
linphone_call_set_state(call, LinphoneCallStreamsRunning, "Streams running");
|
||||
lc->current_call=call;
|
||||
if (!call->current_params.in_conference)
|
||||
lc->current_call=call;
|
||||
}
|
||||
}else{
|
||||
/*send a bye*/
|
||||
|
|
@ -391,7 +392,8 @@ static void call_updating(SalOp *op){
|
|||
if(lc->vtable.display_status)
|
||||
lc->vtable.display_status(lc,_("We have been resumed..."));
|
||||
linphone_call_set_state (call,LinphoneCallStreamsRunning,"Connected (streams running)");
|
||||
lc->current_call=call;
|
||||
if (!call->current_params.in_conference)
|
||||
lc->current_call=call;
|
||||
}else{
|
||||
prevstate=call->state;
|
||||
linphone_call_set_state(call, LinphoneCallUpdatedByRemote,"Call updated by remote");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue