From 9b68808c77037828f32a252a332d2bd8ee812a9e Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sat, 6 Sep 2025 22:52:05 +0800 Subject: [PATCH] :bug: Fix iOS NSE --- ios/SolianNotificationService/NotificationService.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ios/SolianNotificationService/NotificationService.swift b/ios/SolianNotificationService/NotificationService.swift index 47944b0d..07a54809 100644 --- a/ios/SolianNotificationService/NotificationService.swift +++ b/ios/SolianNotificationService/NotificationService.swift @@ -47,6 +47,7 @@ class NotificationService: UNNotificationServiceExtension { private func processNotification(request: UNNotificationRequest, content: UNMutableNotificationContent) throws { switch content.userInfo["type"] as? String { case "messages.new": + content.categoryIdentifier = "REPLYABLE_MESSAGE" try handleMessagingNotification(request: request, content: content) default: try handleDefaultNotification(content: content) @@ -60,8 +61,6 @@ class NotificationService: UNNotificationServiceExtension { let pfpIdentifier = meta["pfp"] as? String - content.categoryIdentifier = "REPLYABLE_MESSAGE" - let metaCopy = meta as? [String: Any] ?? [:] let pfpUrl = pfpIdentifier != nil ? getAttachmentUrl(for: pfpIdentifier!) : nil