mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-27 06:18:06 +09:00
[backend] Don't return local only notes for guest users
This commit is contained in:
parent
b100b88971
commit
6d715cfef5
@ -15,7 +15,8 @@ export function generateVisibilityQuery(
|
||||
`note.visibility = 'home'`,
|
||||
);
|
||||
}),
|
||||
);
|
||||
)
|
||||
.andWhere('note.localOnly = FALSE');
|
||||
} else {
|
||||
const followingQuery = Followings.createQueryBuilder("following")
|
||||
.select("following.followeeId")
|
||||
|
Loading…
Reference in New Issue
Block a user