mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-23 04:33:50 +01:00
Don't show unlisted posts in antennas
This commit is contained in:
parent
8387d7e4ac
commit
ee6da4dd22
@ -81,7 +81,8 @@ export default define(meta, paramDef, async (ps, user) => {
|
|||||||
.leftJoinAndSelect("renote.user", "renoteUser")
|
.leftJoinAndSelect("renote.user", "renoteUser")
|
||||||
.leftJoinAndSelect("renoteUser.avatar", "renoteUserAvatar")
|
.leftJoinAndSelect("renoteUser.avatar", "renoteUserAvatar")
|
||||||
.leftJoinAndSelect("renoteUser.banner", "renoteUserBanner")
|
.leftJoinAndSelect("renoteUser.banner", "renoteUserBanner")
|
||||||
.andWhere("antennaNote.antennaId = :antennaId", { antennaId: antenna.id });
|
.andWhere("antennaNote.antennaId = :antennaId", { antennaId: antenna.id })
|
||||||
|
.andWhere("note.visibility != 'home'");
|
||||||
|
|
||||||
generateVisibilityQuery(query, user);
|
generateVisibilityQuery(query, user);
|
||||||
generateMutedUserQuery(query, user);
|
generateMutedUserQuery(query, user);
|
||||||
|
Loading…
Reference in New Issue
Block a user