From 5b2f15726fffd41e77e7a4b1e594f0f2713eb193 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 10 Sep 2018 03:15:46 +0900 Subject: [PATCH] Fix #2675 --- 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 ede3a0101..94ca246e5 100644 --- a/src/services/note/create.ts +++ b/src/services/note/create.ts @@ -184,7 +184,7 @@ export default async (user: IUser, data: Option, silent = false) => new Promise< const noteActivity = await renderActivity(data, note); - if (isLocalUser(user)) { + if (isLocalUser(user) && note.visibility != 'private') { deliverNoteToMentionedRemoteUsers(mentionedUsers, user, noteActivity); }