mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Switch from an always returning the notification content approach at every step to passing it in as mutable.
This commit is contained in:
committed by
Stefan Ceriu
parent
c33a164354
commit
f71e5facb8
@@ -125,9 +125,9 @@ class NotificationServiceExtension: UNNotificationServiceExtension {
|
||||
case .processedShouldDiscard, .unsupportedShouldDiscard:
|
||||
discardNotification()
|
||||
case .shouldDisplay:
|
||||
notificationContent = await notificationContentBuilder.process(notificationContent: notificationContent,
|
||||
notificationItem: notificationItemProxy,
|
||||
mediaProvider: userSession.mediaProvider)
|
||||
await notificationContentBuilder.process(notificationContent: ¬ificationContent,
|
||||
notificationItem: notificationItemProxy,
|
||||
mediaProvider: userSession.mediaProvider)
|
||||
|
||||
deliverNotification()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user