diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-09-10 03:15:46 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-09-10 03:15:46 +0900 |
| commit | 5b2f15726fffd41e77e7a4b1e594f0f2713eb193 (patch) | |
| tree | 5f87447bb0274233dc591d49492208a4dea47bba /src/services | |
| parent | Fix #2596 (diff) | |
| download | sharkey-5b2f15726fffd41e77e7a4b1e594f0f2713eb193.tar.gz sharkey-5b2f15726fffd41e77e7a4b1e594f0f2713eb193.tar.bz2 sharkey-5b2f15726fffd41e77e7a4b1e594f0f2713eb193.zip | |
Fix #2675
Diffstat (limited to 'src/services')
| -rw-r--r-- | src/services/note/create.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/services/note/create.ts b/src/services/note/create.ts index ede3a01014..94ca246e5b 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); } |