fix(backend): users/notesでセンシティブチャンネルの投稿が含まれる場合がある問題を修正
This commit is contained in:
		@@ -150,7 +150,9 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
 | 
			
		||||
				.leftJoinAndSelect('reply.user', 'replyUser')
 | 
			
		||||
				.leftJoinAndSelect('renote.user', 'renoteUser');
 | 
			
		||||
 | 
			
		||||
			if (!ps.withChannelNotes) {
 | 
			
		||||
			if (ps.withChannelNotes) {
 | 
			
		||||
				if (!isSelf) query.andWhere('channel.isSensitive = false');
 | 
			
		||||
			} else {
 | 
			
		||||
				query.andWhere('note.channelId IS NULL');
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user