From 6e6616b23673c315f6063b094d9c5f1a060ce661 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Tue, 28 Oct 2025 01:26:57 +0800 Subject: [PATCH] :bug: Fix NSE failed compiling --- ios/SolianNotificationService/NotificationService.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ios/SolianNotificationService/NotificationService.swift b/ios/SolianNotificationService/NotificationService.swift index c0f1f899..e9bc6bf6 100644 --- a/ios/SolianNotificationService/NotificationService.swift +++ b/ios/SolianNotificationService/NotificationService.swift @@ -85,8 +85,6 @@ class NotificationService: UNNotificationServiceExtension { customIdentifier: nil ) - let intent = self.createMessageIntent(with: sender, meta: metaCopy, body: content.body) - self.donateInteraction(for: intent) content.categoryIdentifier = "CHAT_MESSAGE" self.contentHandler?(content) }) @@ -187,7 +185,7 @@ class NotificationService: UNNotificationServiceExtension { private func createMessageIntent(with sender: INPerson, meta: [AnyHashable: Any], body: String) -> INSendMessageIntent { INSendMessageIntent( recipients: nil, - outgoingMessageType: .incomingMessageText, + outgoingMessageType: .outgoingMessageText, content: body, speakableGroupName: meta["room_name"] != nil ? INSpeakableString(spokenPhrase: meta["room_name"] as! String) : nil, conversationIdentifier: "\(meta["room_id"] ?? "")",