This commit is contained in:
syuilo
2018-10-09 01:26:04 +09:00
parent 8296cac636
commit 040d395ddb
5 changed files with 45 additions and 32 deletions

View File

@@ -44,7 +44,8 @@ export default async (user: IUser, note: INote, reaction: string) => new Promise
});
publishNoteStream(note._id, 'reacted', {
reaction: reaction
reaction: reaction,
userId: user._id
});
// リアクションされたユーザーがローカルユーザーなら通知を作成