fix: correct followers visibility on import

This commit is contained in:
Marie 2023-12-31 03:50:05 +01:00
parent 667daebb79
commit fc6581b948

View file

@ -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;