From 12cf598e6b073cb2aea0d90d6b7feaf11f486df1 Mon Sep 17 00:00:00 2001 From: MeiMei <30769358+mei23@users.noreply.github.com> Date: Fri, 11 Jan 2019 17:53:53 +0900 Subject: [PATCH] Fix bug (for return) (#3878) --- src/services/note/create.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/note/create.ts b/src/services/note/create.ts index a36b4442a..18073f3aa 100644 --- a/src/services/note/create.ts +++ b/src/services/note/create.ts @@ -541,7 +541,7 @@ async function publishToFollowers(note: INote, user: IUser, noteActivity: any) { if (!following.stalk) { // この投稿が返信ならスキップ if (note.replyId && !note._reply.userId.equals(following.followerId) && !note._reply.userId.equals(note.userId)) - return; + continue; } // Publish event to followers stream