リアクションの修正 (#6260)

This commit is contained in:
MeiMei
2020-04-16 00:47:17 +09:00
committed by GitHub
parent f32d8b7069
commit fa75b40dfd
4 changed files with 21 additions and 18 deletions

View File

@@ -72,13 +72,13 @@ export default async (user: User, note: Note, reaction?: string) => {
if (emoji) {
emoji = {
name: emoji.host ? `${emoji.name}@${emoji.host}` : `${emoji.name}`,
name: emoji.host ? `${emoji.name}@${emoji.host}` : `${emoji.name}@.`,
url: emoji.url
} as any;
}
publishNoteStream(note.id, 'reacted', {
reaction: reaction,
reaction: decodedReaction.reaction,
emoji: emoji,
userId: user.id
});