mirror of
https://example.com
synced 2024-11-23 23:36:39 +09:00
thumbs up or star trggers pleroma like
This commit is contained in:
parent
e4e20288c9
commit
4cae839bfa
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
} : {}),
|
||||
|
|
Loading…
Reference in a new issue