diff --git a/SessionNotificationServiceExtension/NotificationServiceExtension.swift b/SessionNotificationServiceExtension/NotificationServiceExtension.swift index dce15950f..8a7f643c1 100644 --- a/SessionNotificationServiceExtension/NotificationServiceExtension.swift +++ b/SessionNotificationServiceExtension/NotificationServiceExtension.swift @@ -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)