diff options
| author | Marie <marie@kaifa.ch> | 2023-12-31 04:09:44 +0100 |
|---|---|---|
| committer | Marie <marie@kaifa.ch> | 2023-12-31 04:09:44 +0100 |
| commit | 07f06d7ed6948c949aa273df29ff0ef11551d568 (patch) | |
| tree | 0d48052c9cd45854ab550fc5fa8d1baf5bafc091 /packages/backend/src | |
| parent | fix: correct followers visibility on import (diff) | |
| download | sharkey-07f06d7ed6948c949aa273df29ff0ef11551d568.tar.gz sharkey-07f06d7ed6948c949aa273df29ff0ef11551d568.tar.bz2 sharkey-07f06d7ed6948c949aa273df29ff0ef11551d568.zip | |
fix: if condition
Diffstat (limited to 'packages/backend/src')
| -rw-r--r-- | packages/backend/src/queue/processors/ImportNotesProcessorService.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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'; |