summaryrefslogtreecommitdiff
path: root/packages/backend/src/queue/processors
diff options
context:
space:
mode:
authorMarie <marie@kaifa.ch>2023-12-31 03:50:05 +0100
committerMarie <marie@kaifa.ch>2023-12-31 03:50:05 +0100
commitfc6581b94850502e4dac258e32265f9b1fe72617 (patch)
tree4f784372dc0e0ac5c24c1eb2307bff562e0f3702 /packages/backend/src/queue/processors
parentupd: prevent vanilla mastodon imports from importing DMs (diff)
downloadsharkey-fc6581b94850502e4dac258e32265f9b1fe72617.tar.gz
sharkey-fc6581b94850502e4dac258e32265f9b1fe72617.tar.bz2
sharkey-fc6581b94850502e4dac258e32265f9b1fe72617.zip
fix: correct followers visibility on import
Diffstat (limited to 'packages/backend/src/queue/processors')
-rw-r--r--packages/backend/src/queue/processors/ImportNotesProcessorService.ts2
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 942870dfc7..072567d05c 100644
--- a/packages/backend/src/queue/processors/ImportNotesProcessorService.ts
+++ b/packages/backend/src/queue/processors/ImportNotesProcessorService.ts
@@ -381,7 +381,7 @@ export class ImportNotesProcessorService {
if (toot.directMessage || (!toot.to.includes('https://www.w3.org/ns/activitystreams#Public') || !followers)) return;
- const visibility = followers ? 'home' : 'public';
+ const visibility = followers ? 'followers' : 'public';
const date = new Date(toot.object.published);
let text = undefined;