Skip to content
Snippets Groups Projects
Commit b700fadb authored by Marie's avatar Marie
Browse files

upd: add home as a visibility for mastodon imports

parent 07f06d7e
No related branches found
No related tags found
No related merge requests found
......@@ -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 ? '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);
let text = undefined;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment