fix: correct followers visibility on import
This commit is contained in:
parent
667daebb79
commit
fc6581b948
@ -381,7 +381,7 @@ export class ImportNotesProcessorService {
|
|||||||
|
|
||||||
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 ? 'home' : 'public';
|
const visibility = followers ? 'followers' : 'public';
|
||||||
|
|
||||||
const date = new Date(toot.object.published);
|
const date = new Date(toot.object.published);
|
||||||
let text = undefined;
|
let text = undefined;
|
||||||
|
Loading…
Reference in New Issue
Block a user