thumbs up or star trggers pleroma like

This commit is contained in:
ThatOneCalculator 2022-08-04 18:12:57 -07:00
parent 5d955af08c
commit 65bad44c2b

View File

@ -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,
} : {}),