diff --git a/packages/backend/src/services/note/delete.ts b/packages/backend/src/services/note/delete.ts index e5bbd65e4..a8b186fc8 100644 --- a/packages/backend/src/services/note/delete.ts +++ b/packages/backend/src/services/note/delete.ts @@ -53,11 +53,9 @@ export default async function(user: { id: User['id']; uri: User['uri']; host: Us deliverToConcerned(user, note, content); } - // also deliever delete activity to cascaded notes + // also deliver delete activity to cascaded notes const cascadingNotes = await findCascadingNotes(note); for (const cascadingNote of cascadingNotes) { - if (!cascadingNote.user) continue; - if (!Users.isLocalUser(cascadingNote.user)) continue; const content = renderActivity(renderDelete(renderTombstone(`${config.url}/notes/${cascadingNote.id}`), cascadingNote.user)); deliverToConcerned(cascadingNote.user, cascadingNote, content); }