mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-25 23:45:13 +00:00
upd: add home as a visibility for mastodon imports
This commit is contained in:
parent
07f06d7ed6
commit
b700fadbe3
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 ? 'followers' : 'public';
|
const visibility = followers ? 'followers' : toot.cc.includes('https://www.w3.org/ns/activitystreams#Public') ? 'home' : '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