diff --git a/lib/shared/messages/update-relationship-message-spec.js b/lib/shared/messages/update-relationship-message-spec.js --- a/lib/shared/messages/update-relationship-message-spec.js +++ b/lib/shared/messages/update-relationship-message-spec.js @@ -189,6 +189,8 @@ possessive: true, }); return ET`${creator} accepted ${targetPossessive} friend request`; + } else if (messageInfo.operation === 'farcaster_mutual') { + return ET`Your connection on Farcaster is on Comm.`; } invariant( false, @@ -215,10 +217,16 @@ const creator = ET.user({ userInfo: messageInfo.creator }); const prefix = ET`${creator}`; const title = threadInfo.uiName; - const body = - messageInfo.operation === 'request_sent' - ? 'sent you a friend request' - : 'accepted your friend request'; + + let body; + if (messageInfo.operation === 'request_sent') { + body = 'sent you a friend request'; + } else if (messageInfo.operation === 'request_accepted') { + body = 'accepted your friend request'; + } else { + body = 'from Farcaster is on Comm'; + } + const merged = ET`${prefix} ${body}`; return { merged,