[Server] Fix #3991
This commit is contained in:
		
							parent
							
								
									5a795c4ab2
								
							
						
					
					
						commit
						da7d1938c9
					
				
					 2 changed files with 5 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -377,8 +377,10 @@ async function publish(user: IUser, note: INote, noteObj: any, reply: INote, ren
 | 
			
		|||
 | 
			
		||||
			if (note.visibility == 'specified') {
 | 
			
		||||
				for (const u of visibleUsers) {
 | 
			
		||||
					publishHomeTimelineStream(u._id, detailPackedNote);
 | 
			
		||||
					publishHybridTimelineStream(u._id, detailPackedNote);
 | 
			
		||||
					if (!u._id.equals(user._id)) {
 | 
			
		||||
						publishHomeTimelineStream(u._id, detailPackedNote);
 | 
			
		||||
						publishHybridTimelineStream(u._id, detailPackedNote);
 | 
			
		||||
					}
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		} else {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue