mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-03 23:14:13 +00:00 
			
		
		
		
	fix(backend): fix of 8c684d5391
				
					
				
			This commit is contained in:
		
							parent
							
								
									2859cbab91
								
							
						
					
					
						commit
						cd8fda50c8
					
				
					 1 changed files with 3 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -157,10 +157,9 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
 | 
			
		|||
					.leftJoinAndSelect('reply.user', 'replyUser')
 | 
			
		||||
					.leftJoinAndSelect('renote.user', 'renoteUser');
 | 
			
		||||
 | 
			
		||||
				query.andWhere(new Brackets(qb => {
 | 
			
		||||
					qb.orWhere('note.channelId IS NULL');
 | 
			
		||||
					qb.orWhere('channel.isSensitive = false');
 | 
			
		||||
				}));
 | 
			
		||||
				if (!ps.withChannelNotes) {
 | 
			
		||||
					query.andWhere('note.channelId IS NULL');
 | 
			
		||||
				}
 | 
			
		||||
 | 
			
		||||
				this.queryService.generateVisibilityQuery(query, me);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue