From 65bad44c2b6b290696f9e056ddc3aaf396c65e48 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Thu, 4 Aug 2022 18:12:57 -0700 Subject: [PATCH] thumbs up or star trggers pleroma like --- packages/backend/src/remote/activitypub/renderer/like.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/remote/activitypub/renderer/like.ts b/packages/backend/src/remote/activitypub/renderer/like.ts index 8d0c64224..02fbc3a1f 100644 --- a/packages/backend/src/remote/activitypub/renderer/like.ts +++ b/packages/backend/src/remote/activitypub/renderer/like.ts @@ -13,7 +13,7 @@ export const renderLike = async (noteReaction: NoteReaction, note: Note) => { id: `${config.url}/likes/${noteReaction.id}`, actor: `${config.url}/users/${noteReaction.userId}`, object: note.uri ? note.uri : `${config.url}/notes/${noteReaction.noteId}`, - ... (reaction !== '\u2b50' ? { + ... (!['\u2b50', '\u1f44d'].includes(reaction) ? { content: reaction, _misskey_reaction: reaction, } : {}),