minor fix

pull/560/head
ryanzhao 3 years ago
parent a1aa45ae10
commit 446ef838f0

@ -219,7 +219,7 @@ public final class NotificationServiceExtension : UNNotificationServiceExtension
private func handleSuccessForIncomingCall(for content: UNMutableNotificationContent, callMessage: CallMessage) {
if #available(iOSApplicationExtension 14.5, *) {
if let uuid = callMessage.uuid, let caller = callMessage.sender, let timestamp = callMessage.sentTimestamp {
let payload = ["uuid": uuid, "caller": caller, "timestamp": timestamp]
let payload: JSON = ["uuid": uuid, "caller": caller, "timestamp": timestamp]
CXProvider.reportNewIncomingVoIPPushPayload(payload) { error in
if let error = error {
self.contentHandler!(content)

Loading…
Cancel
Save