From 4add44f3bd795fca2966021b0470331c1454691f Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 14 Jul 2018 13:47:36 +0900 Subject: [PATCH] Update create.ts --- src/services/note/create.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/services/note/create.ts b/src/services/note/create.ts index d4daa6f477..b437950461 100644 --- a/src/services/note/create.ts +++ b/src/services/note/create.ts @@ -308,7 +308,10 @@ export default async (user: IUser, data: { // Publish event to followers stream stream(following.followerId, 'note', noteObj); - publishHybridTimelineStream(following.followerId, noteObj); + + if (note.visibility != 'public') { + publishHybridTimelineStream(following.followerId, noteObj); + } } else { //#region AP配送 // フォロワーがリモートユーザーかつ投稿者がローカルユーザーなら投稿を配信