From 07f06d7ed6948c949aa273df29ff0ef11551d568 Mon Sep 17 00:00:00 2001 From: Marie Date: Sun, 31 Dec 2023 04:09:44 +0100 Subject: [PATCH] fix: if condition --- .../backend/src/queue/processors/ImportNotesProcessorService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/queue/processors/ImportNotesProcessorService.ts b/packages/backend/src/queue/processors/ImportNotesProcessorService.ts index 072567d05c..9344467b58 100644 --- a/packages/backend/src/queue/processors/ImportNotesProcessorService.ts +++ b/packages/backend/src/queue/processors/ImportNotesProcessorService.ts @@ -379,7 +379,7 @@ export class ImportNotesProcessorService { const followers = toot.to.some((str: string) => str.includes('/followers')); - if (toot.directMessage || (!toot.to.includes('https://www.w3.org/ns/activitystreams#Public') || !followers)) return; + if (toot.directMessage || !toot.to.includes('https://www.w3.org/ns/activitystreams#Public') && !followers) return; const visibility = followers ? 'followers' : 'public';