From 6f40c1f25a1c49722f53c343d90a58b053ed0436 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); }