mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-26 09:36:02 -07:00
[backend] Don't return local only notes for guest users
This commit is contained in:
parent
b100b88971
commit
6d715cfef5
1 changed files with 2 additions and 1 deletions
|
@ -15,7 +15,8 @@ export function generateVisibilityQuery(
|
||||||
`note.visibility = 'home'`,
|
`note.visibility = 'home'`,
|
||||||
);
|
);
|
||||||
}),
|
}),
|
||||||
);
|
)
|
||||||
|
.andWhere('note.localOnly = FALSE');
|
||||||
} else {
|
} else {
|
||||||
const followingQuery = Followings.createQueryBuilder("following")
|
const followingQuery = Followings.createQueryBuilder("following")
|
||||||
.select("following.followeeId")
|
.select("following.followeeId")
|
||||||
|
|
Loading…
Reference in a new issue