forked from mirrors/linphone-iphone
Fix Video and ZRTP request when lockscreen call view
This commit is contained in:
parent
c5c8e59140
commit
84f8726206
2 changed files with 7 additions and 0 deletions
|
|
@ -607,6 +607,9 @@ static void hideSpinner(LinphoneCall *call, void *user_data) {
|
|||
content.title = NSLocalizedString(@"Video request", nil);
|
||||
content.body = title;
|
||||
content.categoryIdentifier = @"video_request";
|
||||
content.userInfo = @{
|
||||
@"CallId" : [NSString stringWithUTF8String:linphone_call_log_get_call_id(linphone_call_get_call_log(call))]
|
||||
};
|
||||
|
||||
UNNotificationRequest *req =
|
||||
[UNNotificationRequest requestWithIdentifier:@"video_request" content:content trigger:NULL];
|
||||
|
|
|
|||
|
|
@ -327,6 +327,10 @@
|
|||
content.title = NSLocalizedString(@"ZRTP verification", nil);
|
||||
content.body = message;
|
||||
content.categoryIdentifier = @"zrtp_request";
|
||||
content.userInfo = @{
|
||||
@"CallId" : [NSString
|
||||
stringWithUTF8String:linphone_call_log_get_call_id(linphone_call_get_call_log(call))]
|
||||
};
|
||||
|
||||
UNNotificationRequest *req =
|
||||
[UNNotificationRequest requestWithIdentifier:@"zrtp_request" content:content trigger:NULL];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue