mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-26 22:29:28 +09:00
Fix #2675
This commit is contained in:
parent
bc3a5f3512
commit
5b2f15726f
@ -184,7 +184,7 @@ export default async (user: IUser, data: Option, silent = false) => new Promise<
|
|||||||
|
|
||||||
const noteActivity = await renderActivity(data, note);
|
const noteActivity = await renderActivity(data, note);
|
||||||
|
|
||||||
if (isLocalUser(user)) {
|
if (isLocalUser(user) && note.visibility != 'private') {
|
||||||
deliverNoteToMentionedRemoteUsers(mentionedUsers, user, noteActivity);
|
deliverNoteToMentionedRemoteUsers(mentionedUsers, user, noteActivity);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user