Properly apply star is like patch
This commit is contained in:
parent
2f35bb021e
commit
31da3c16c3
1 changed files with 4 additions and 2 deletions
|
@ -13,8 +13,10 @@ 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' ? {
|
||||
content: reaction,
|
||||
_misskey_reaction: reaction,
|
||||
} : {}),
|
||||
} as any;
|
||||
|
||||
if (reaction.startsWith(':')) {
|
||||
|
|
Loading…
Reference in a new issue