mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 06:33:08 +02:00
fix: correct followers visibility on import
This commit is contained in:
parent
667daebb79
commit
fc6581b948
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue