mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-05 15:53:08 +02:00
fix: if condition
This commit is contained in:
parent
fc6581b948
commit
07f06d7ed6
1 changed files with 1 additions and 1 deletions
|
@ -379,7 +379,7 @@ export class ImportNotesProcessorService {
|
|||
|
||||
const followers = toot.to.some((str: string) => str.includes('/followers'));
|
||||
|
||||
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';
|
||||
|
||||
|
|
Loading…
Reference in a new issue