fix(backend): ダイレクト投稿をユーザーごとのチャートから除外 (#14350)
* fix(chart): ダイレクト投稿をユーザーごとのチャートから除外 (MisskeyIO#679) (cherry picked from commit 3db41c2d829ac18daabbdf52fe6235a874735b31) * Update Changelog --------- Co-authored-by: Yuuki <yukikum57@gmail.com> Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									93fc06d18b
								
							
						
					
					
						commit
						ab7bbd4e57
					
				
					 2 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -18,6 +18,8 @@
 | 
			
		|||
- Fix: Play各種エンドポイントの返り値に`visibility`が含まれていない問題を修正
 | 
			
		||||
- Fix: サーバー情報取得の際にモデレーター限定の情報が取得できないことがあるのを修正  
 | 
			
		||||
  (Cherry-picked from https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/582)
 | 
			
		||||
- Fix: 公開範囲がダイレクトのノートをユーザーアクティビティのチャート生成に使用しないように  
 | 
			
		||||
  (Cherry-picked from https://github.com/MisskeyIO/misskey/pull/679)
 | 
			
		||||
- Fix: ActivityPubのエンティティタイプ判定で不明なタイプを受け取った場合でも処理を継続するように
 | 
			
		||||
  - キュー処理のつまりが改善される可能性があります
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -509,7 +509,7 @@ export class NoteCreateService implements OnApplicationShutdown {
 | 
			
		|||
		const meta = await this.metaService.fetch();
 | 
			
		||||
 | 
			
		||||
		this.notesChart.update(note, true);
 | 
			
		||||
		if (meta.enableChartsForRemoteUser || (user.host == null)) {
 | 
			
		||||
		if (note.visibility !== 'specified' && (meta.enableChartsForRemoteUser || (user.host == null))) {
 | 
			
		||||
			this.perUserNotesChart.update(user, note, true);
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue