im stuff
This commit is contained in:
parent
40c197ed60
commit
13648d03a1
@ -69,7 +69,7 @@ export default define(meta, paramDef, async (ps, user) => {
|
||||
const query = makePaginationQuery(Notes.createQueryBuilder('note'),
|
||||
ps.sinceId, ps.untilId, ps.sinceDate, ps.untilDate)
|
||||
.andWhere('(note.visibility = \'public\')')
|
||||
.andWhere('(note.userHost = ANY(meta.recommendedInstances))')
|
||||
.andWhere('(note.userHost IN meta.recommendedInstances) OR (note.userHost IS NULL)')
|
||||
.innerJoinAndSelect('note.user', 'user')
|
||||
.leftJoinAndSelect('user.avatar', 'avatar')
|
||||
.leftJoinAndSelect('user.banner', 'banner')
|
||||
|
Loading…
Reference in New Issue
Block a user