From 9b3993a652c613c39d33e1fd8f6fac11164fab6f Mon Sep 17 00:00:00 2001 From: Mar0xy Date: Mon, 13 Nov 2023 10:25:39 +0100 Subject: [PATCH] fix: prevent *key renotes/boosts from being imported Stop renotes/boosts from *key from being imported due to missing functionality of getting the related posts --- .../backend/src/queue/processors/ImportNotesProcessorService.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/backend/src/queue/processors/ImportNotesProcessorService.ts b/packages/backend/src/queue/processors/ImportNotesProcessorService.ts index a9159a3980..3f9d472716 100644 --- a/packages/backend/src/queue/processors/ImportNotesProcessorService.ts +++ b/packages/backend/src/queue/processors/ImportNotesProcessorService.ts @@ -210,6 +210,8 @@ export class ImportNotesProcessorService { return; } + if (note.renoteId) return; + const files: MiDriveFile[] = []; const date = new Date(note.createdAt);