[backend] Don't return local only notes for guest users

This commit is contained in:
Laura Hausmann 2023-11-02 18:47:54 +01:00
parent b100b88971
commit 6d715cfef5
Signed by: zotan
GPG key ID: D044E84C5BE01605

View file

@ -15,7 +15,8 @@ export function generateVisibilityQuery(
`note.visibility = 'home'`,
);
}),
);
)
.andWhere('note.localOnly = FALSE');
} else {
const followingQuery = Followings.createQueryBuilder("following")
.select("following.followeeId")