Fix a bug where Matrix RTC call notifications are removed immediately after display. (#7870)

This commit is contained in:
Doug
2024-11-14 08:37:35 +00:00
committed by GitHub
parent 3e0c1ca7b9
commit 3c798f56b0

View File

@@ -795,7 +795,7 @@ class NotificationService: UNNotificationServiceExtension {
return Constants.callInviteNotificationCategoryIdentifier
}
guard event.eventType == .roomMessage || event.eventType == .roomEncrypted else {
guard event.eventType == .roomMessage || event.eventType == .roomEncrypted || event.eventType == .callNotify else {
return Constants.toBeRemovedNotificationCategoryIdentifier
}