Fix users recommendation query
This commit is contained in:
		
							parent
							
								
									db248a69c8
								
							
						
					
					
						commit
						375f86ec82
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -67,7 +67,7 @@ export default (params: any, me: ILocalUser) => new Promise(async (res, rej) =>
 | 
			
		|||
				_id: {
 | 
			
		||||
					$nin: followingIds.concat(mutedUserIds)
 | 
			
		||||
				},
 | 
			
		||||
				isLocked: false,
 | 
			
		||||
				isLocked: { $ne: true },
 | 
			
		||||
				$or: [{
 | 
			
		||||
					lastUsedAt: {
 | 
			
		||||
						$gte: new Date(Date.now() - ms('7days'))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue