Fix bug (for return) (#3878)

This commit is contained in:
MeiMei 2019-01-11 17:53:53 +09:00 committed by syuilo
parent dd6cd6332c
commit 12cf598e6b

View File

@ -541,7 +541,7 @@ async function publishToFollowers(note: INote, user: IUser, noteActivity: any) {
if (!following.stalk) { if (!following.stalk) {
// この投稿が返信ならスキップ // この投稿が返信ならスキップ
if (note.replyId && !note._reply.userId.equals(following.followerId) && !note._reply.userId.equals(note.userId)) if (note.replyId && !note._reply.userId.equals(following.followerId) && !note._reply.userId.equals(note.userId))
return; continue;
} }
// Publish event to followers stream // Publish event to followers stream