Fix Video and ZRTP request when lockscreen call view

This commit is contained in:
Benjamin Reis 2017-01-02 11:54:12 +01:00
parent c5c8e59140
commit 84f8726206
2 changed files with 7 additions and 0 deletions

View file

@ -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];

View file

@ -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];