parent
488e6feed9
commit
69c3c4e3dc
13 changed files with 52 additions and 4 deletions
|
|
@ -42,6 +42,7 @@ export const meta = {
|
|||
export default define(meta, async (ps, me) => {
|
||||
const query = Users.createQueryBuilder('user')
|
||||
.where('user.isLocked = FALSE')
|
||||
.andWhere('user.isExplorable = TRUE')
|
||||
.andWhere('user.host IS NULL')
|
||||
.andWhere('user.updatedAt >= :date', { date: new Date(Date.now() - ms('7days')) })
|
||||
.andWhere('user.id != :meId', { meId: me.id })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue