mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	ユーザのノートのみ表示時にDBへフォールバックするとリノートを含んでしまうのを修正 (#12321)
* ユーザのノートのみ表示時にDBへフォールバックするとリノートを含んでしまうのを修正 * fix CHANGELOG.md --------- Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									cec02966ad
								
							
						
					
					
						commit
						e1cc95d308
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -24,6 +24,7 @@
 | 
			
		|||
### Server
 | 
			
		||||
- Fix: トークンのないプラグインをアンインストールするときにエラーが出ないように
 | 
			
		||||
- Fix: 投稿通知がオンでもダイレクト投稿はユーザーに通知されないようにされました
 | 
			
		||||
- Fix: ユーザタイムラインの「ノート」選択時にリノートが混ざり込んでしまうことがある問題の修正 #12306
 | 
			
		||||
 | 
			
		||||
## 2023.11.0
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -51,7 +51,6 @@ export const paramDef = {
 | 
			
		|||
		untilId: { type: 'string', format: 'misskey:id' },
 | 
			
		||||
		sinceDate: { type: 'integer' },
 | 
			
		||||
		untilDate: { type: 'integer' },
 | 
			
		||||
		includeMyRenotes: { type: 'boolean', default: true },
 | 
			
		||||
		withFiles: { type: 'boolean', default: false },
 | 
			
		||||
		excludeNsfw: { type: 'boolean', default: false },
 | 
			
		||||
	},
 | 
			
		||||
| 
						 | 
				
			
			@ -169,7 +168,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
 | 
			
		|||
				query.andWhere('note.fileIds != \'{}\'');
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
			if (ps.includeMyRenotes === false) {
 | 
			
		||||
			if (ps.withRenotes === false) {
 | 
			
		||||
				query.andWhere(new Brackets(qb => {
 | 
			
		||||
					qb.orWhere('note.userId != :userId', { userId: ps.userId });
 | 
			
		||||
					qb.orWhere('note.renoteId IS NULL');
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue