mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 15:34:13 +00:00 
			
		
		
		
	
							parent
							
								
									c1d38b02d7
								
							
						
					
					
						commit
						e89f4ff3c8
					
				
					 1 changed files with 10 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -816,7 +816,16 @@ export class NoteCreateService implements OnApplicationShutdown {
 | 
			
		|||
 | 
			
		||||
				// Notify
 | 
			
		||||
				if (data.renote.userHost === null) {
 | 
			
		||||
					nm.push(data.renote.userId, type);
 | 
			
		||||
					const isThreadMuted = await this.noteThreadMutingsRepository.exist({
 | 
			
		||||
						where: {
 | 
			
		||||
							userId: data.renote.userId,
 | 
			
		||||
							threadId: data.renote.threadId ?? data.renote.id,
 | 
			
		||||
						},
 | 
			
		||||
					});
 | 
			
		||||
 | 
			
		||||
					if (!isThreadMuted) {
 | 
			
		||||
						nm.push(data.renote.userId, type);
 | 
			
		||||
					}
 | 
			
		||||
				}
 | 
			
		||||
 | 
			
		||||
				// Publish event
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue