wip
This commit is contained in:
		
							parent
							
								
									f60eae5c91
								
							
						
					
					
						commit
						bbd3b6da07
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
					@ -42,6 +42,12 @@ module.exports = (params, user, app) => new Promise(async (res, rej) => {
 | 
				
			||||||
	const query = {
 | 
						const query = {
 | 
				
			||||||
		user_id: {
 | 
							user_id: {
 | 
				
			||||||
			$in: followingIds
 | 
								$in: followingIds
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
 | 
							// TODO
 | 
				
			||||||
 | 
							channel_id: {
 | 
				
			||||||
 | 
								$or: [{
 | 
				
			||||||
 | 
									$exists: false
 | 
				
			||||||
 | 
								}, null]
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	} as any;
 | 
						} as any;
 | 
				
			||||||
	if (sinceId) {
 | 
						if (sinceId) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue