This commit is contained in:
syuilo 2018-09-10 03:15:46 +09:00
parent bc3a5f3512
commit 5b2f15726f
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69

View file

@ -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);
}