fix(backend): 自身の宛先なしダイレクト投稿がストリーミングで流れてこない問題を修正 (#12203)
* fix: dm stream * add CHANGELOG
This commit is contained in:
		
							parent
							
								
									e6e5bf1da4
								
							
						
					
					
						commit
						7c692283ad
					
				
					 3 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -61,6 +61,7 @@
 | 
			
		|||
- Fix: HTLをリロードまたは遡行したとき、フォローしているチャンネルのノートが含まれない問題を修正 #11765 #12181
 | 
			
		||||
- Fix: リノートをリノートできるのを修正
 | 
			
		||||
- Fix: アクセストークンを削除すると、通知が取得できなくなる場合がある問題を修正
 | 
			
		||||
- Fix: 自身の宛先なしダイレクト投稿がストリーミングで流れてこない問題を修正
 | 
			
		||||
 | 
			
		||||
## 2023.10.2
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -56,7 +56,7 @@ class HomeTimelineChannel extends Channel {
 | 
			
		|||
		if (note.visibility === 'followers') {
 | 
			
		||||
			if (!isMe && !Object.hasOwn(this.following, note.userId)) return;
 | 
			
		||||
		} else if (note.visibility === 'specified') {
 | 
			
		||||
			if (!note.visibleUserIds!.includes(this.user!.id)) return;
 | 
			
		||||
			if (!isMe && !note.visibleUserIds!.includes(this.user!.id)) return;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		if (note.reply) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -67,7 +67,7 @@ class HybridTimelineChannel extends Channel {
 | 
			
		|||
		if (note.visibility === 'followers') {
 | 
			
		||||
			if (!isMe && !Object.hasOwn(this.following, note.userId)) return;
 | 
			
		||||
		} else if (note.visibility === 'specified') {
 | 
			
		||||
			if (!note.visibleUserIds!.includes(this.user!.id)) return;
 | 
			
		||||
			if (!isMe && !note.visibleUserIds!.includes(this.user!.id)) return;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		// Ignore notes from instances the user has muted
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue