mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-24 01:33:07 +02:00
Fix #2675
This commit is contained in:
parent
bc3a5f3512
commit
5b2f15726f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue