mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Show ElementCalls in the system Recents list and allow deep linking back into a call from there
This commit is contained in:
committed by
Stefan Ceriu
parent
16fc7caa62
commit
f6c476eeca
@@ -206,12 +206,8 @@ class NotificationServiceExtension: UNNotificationServiceExtension {
|
||||
return true
|
||||
}
|
||||
|
||||
var payload = [ElementCallServiceNotificationKey.roomID.rawValue: itemProxy.roomID,
|
||||
ElementCallServiceNotificationKey.roomDisplayName.rawValue: itemProxy.roomDisplayName,
|
||||
ElementCallServiceNotificationKey.senderID.rawValue: itemProxy.senderID]
|
||||
if let senderDisplayName = itemProxy.senderDisplayName {
|
||||
payload[ElementCallServiceNotificationKey.senderDisplayName.rawValue] = senderDisplayName
|
||||
}
|
||||
let payload = [ElementCallServiceNotificationKey.roomID.rawValue: itemProxy.roomID,
|
||||
ElementCallServiceNotificationKey.roomDisplayName.rawValue: itemProxy.roomDisplayName]
|
||||
|
||||
do {
|
||||
try await CXProvider.reportNewIncomingVoIPPushPayload(payload)
|
||||
|
||||
Reference in New Issue
Block a user