mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 20:23:49 +01:00
stuff
This commit is contained in:
parent
e2db8dd230
commit
20608d9b55
@ -71,8 +71,8 @@ export default define(meta, paramDef, async (ps, user) => {
|
||||
const query = makePaginationQuery(Notes.createQueryBuilder('note'),
|
||||
ps.sinceId, ps.untilId, ps.sinceDate, ps.untilDate)
|
||||
.andWhere(new Brackets(qb => {
|
||||
qb.where('((note.userHost IN (:instances))', { instances: instances })
|
||||
.orWhere('(note.userHost IS NULL)');
|
||||
qb.where('note.userHost IN (:instances)', { instances: instances })
|
||||
.orWhere('note.userHost IS NULL');
|
||||
}))
|
||||
.andWhere('(note.visibility = \'public\')')
|
||||
.innerJoinAndSelect('note.user', 'user')
|
||||
|
Loading…
Reference in New Issue
Block a user