mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-14 10:05:46 +01: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