mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 20:46:28 +00:00
[CallKit] fix callKit_call linphone_core_get_call list null
This commit is contained in:
parent
d9a264b150
commit
b955870697
1 changed files with 3 additions and 1 deletions
|
|
@ -885,7 +885,9 @@ static void linphone_iphone_display_status(struct _LinphoneCore *lc, const char
|
|||
: @"";
|
||||
NSUUID *uuid = (NSUUID *)[self.providerDelegate.uuids objectForKey:callId2];
|
||||
if (uuid) {
|
||||
LinphoneCall *callKit_call = (LinphoneCall *)linphone_core_get_calls(LC)->data;
|
||||
LinphoneCall *callKit_call = (LinphoneCall *)linphone_core_get_calls(LC)
|
||||
? linphone_core_get_calls(LC)->data
|
||||
: NULL;
|
||||
const char *callKit_callId = callKit_call
|
||||
? linphone_call_log_get_call_id(linphone_call_get_call_log(callKit_call))
|
||||
: NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue