mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-28 23:08:12 +09:00
thumbs up or star trggers pleroma like
This commit is contained in:
parent
5d955af08c
commit
65bad44c2b
@ -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 New Issue
Block a user