From ee8786943c8c2435b786596ad89ebe5346626ece Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Tue, 19 May 2026 16:58:50 +0300 Subject: [PATCH] fix nse: don't swap title->body for chat-reaction --- modules/BlueskyNSE/NotificationService.swift | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/BlueskyNSE/NotificationService.swift b/modules/BlueskyNSE/NotificationService.swift index cc70672f73..a9c38a036c 100644 --- a/modules/BlueskyNSE/NotificationService.swift +++ b/modules/BlueskyNSE/NotificationService.swift @@ -44,7 +44,13 @@ class NotificationService: UNNotificationServiceExtension { if reason == "chat-message" || reason == "chat-reaction" { mutateWithChatMessage(bestAttempt) - mutateChatMessageBody(bestAttempt, userInfo: request.content.userInfo) + // Only apply the title->body swap for chat-message. For chat-reaction, + // `messageKind` refers to the reacted-to message, so we'd clobber the + // descriptive reaction body with the title for reactions on system + // messages. + if reason == "chat-message" { + mutateChatMessageBody(bestAttempt, userInfo: request.content.userInfo) + } mutateWithGroupSubtitle(bestAttempt, userInfo: request.content.userInfo) let finalContent = createCommunicationNotification( from: bestAttempt,