mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 23:32:41 +00:00
Use decrypted call invite events for VoIP pushes
This commit is contained in:
parent
e108447731
commit
fd1f616b60
1 changed files with 5 additions and 1 deletions
|
@ -586,7 +586,11 @@ class NotificationService: UNNotificationServiceExtension {
|
|||
return
|
||||
}
|
||||
|
||||
pushNotificationStore.lastCallInvite = event
|
||||
if event.isEncrypted {
|
||||
pushNotificationStore.lastCallInvite = event.clear
|
||||
} else {
|
||||
pushNotificationStore.lastCallInvite = event
|
||||
}
|
||||
|
||||
ongoingVoIPPushRequests[event.eventId] = true
|
||||
|
||||
|
|
Loading…
Reference in a new issue