fix a bug
This commit is contained in:
parent
6e8d1a167f
commit
ac2b42b71b
1 changed files with 2 additions and 2 deletions
|
@ -118,8 +118,8 @@ export default async function (
|
|||
|
||||
// also deliever delete activity to cascaded notes
|
||||
for (const cascadingNote of cascadingNotes) {
|
||||
if (cascadingNote.userId !== user.id) {
|
||||
// For others, the post appears to have been deleted and publishNoteStream is also required.
|
||||
if (deleteFromDb) {
|
||||
// For other notes, publishNoteStream is also required.
|
||||
publishNoteStream(cascadingNote.id, "deleted", {
|
||||
deletedAt: deletedAt,
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue