From 93a435284b29277c4516daa33e7fe47c081106e6 Mon Sep 17 00:00:00 2001 From: Tom Brow Date: Sun, 18 Oct 2026 16:13:26 -0700 Subject: [PATCH] Preserve default sound in restricted notification fallback Signed-off-by: Tom Brow --- mobile/ios/NotificationService/NotificationService.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/ios/NotificationService/NotificationService.swift b/mobile/ios/NotificationService/NotificationService.swift index 2dd7a0523c..c10bb0f3fd 100644 --- a/mobile/ios/NotificationService/NotificationService.swift +++ b/mobile/ios/NotificationService/NotificationService.swift @@ -101,13 +101,13 @@ final class NotificationService: UNNotificationServiceExtension { ) { resolvedScope = nil handoff = BuzzNotificationHandoff(handler: contentHandler) - restrictedFallbackContent = Self.restrictedFallback(from: request.content) guard let content = request.content.mutableCopy() as? UNMutableNotificationContent else { finish(request.content) return } // Workaround until https://github.com/block/buzz/pull/8431 lands. if content.sound == nil { content.sound = .default } + restrictedFallbackContent = Self.restrictedFallback(from: content) bestAttemptContent = content var cleanUserInfo = content.userInfo cleanUserInfo.removeValue(forKey: BuzzPushNavigationTarget.userInfoKey)