[Server] Fix #3991
This commit is contained in:
		
							parent
							
								
									5a795c4ab2
								
							
						
					
					
						commit
						da7d1938c9
					
				
					 2 changed files with 5 additions and 2 deletions
				
			
		| 
						 | 
					@ -11,6 +11,7 @@ unreleased
 | 
				
			||||||
* 返信一覧を取得すると非公開投稿も取得されてしまう問題を修正
 | 
					* 返信一覧を取得すると非公開投稿も取得されてしまう問題を修正
 | 
				
			||||||
* メンション一覧を取得すると非公開投稿も取得されてしまう問題を修正
 | 
					* メンション一覧を取得すると非公開投稿も取得されてしまう問題を修正
 | 
				
			||||||
* 通知に非公開投稿が表示される問題を修正
 | 
					* 通知に非公開投稿が表示される問題を修正
 | 
				
			||||||
 | 
					* ダイレクトで投稿すると100%の確率で表示が二重になる問題を修正
 | 
				
			||||||
* ウィジットの投稿フォームで投稿するとデフォルトの公開範囲が適用されない問題を修正
 | 
					* ウィジットの投稿フォームで投稿するとデフォルトの公開範囲が適用されない問題を修正
 | 
				
			||||||
 | 
					
 | 
				
			||||||
10.78.5
 | 
					10.78.5
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -377,10 +377,12 @@ async function publish(user: IUser, note: INote, noteObj: any, reply: INote, ren
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			if (note.visibility == 'specified') {
 | 
								if (note.visibility == 'specified') {
 | 
				
			||||||
				for (const u of visibleUsers) {
 | 
									for (const u of visibleUsers) {
 | 
				
			||||||
 | 
										if (!u._id.equals(user._id)) {
 | 
				
			||||||
						publishHomeTimelineStream(u._id, detailPackedNote);
 | 
											publishHomeTimelineStream(u._id, detailPackedNote);
 | 
				
			||||||
						publishHybridTimelineStream(u._id, detailPackedNote);
 | 
											publishHybridTimelineStream(u._id, detailPackedNote);
 | 
				
			||||||
					}
 | 
										}
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
		} else {
 | 
							} else {
 | 
				
			||||||
			// Publish event to myself's stream
 | 
								// Publish event to myself's stream
 | 
				
			||||||
			publishHomeTimelineStream(note.userId, noteObj);
 | 
								publishHomeTimelineStream(note.userId, noteObj);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue