Skip to content

Commit

Permalink
Fix a bug where Matrix RTC call notifications are removed immediately…
Browse files Browse the repository at this point in the history
… after display.
  • Loading branch information
pixlwave committed Nov 13, 2024
1 parent 34ddefa commit 5f783e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RiotNSE/NotificationService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 5f783e1

Please sign in to comment.