mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-03 23:14:13 +00:00 
			
		
		
		
	
							parent
							
								
									4be70a8d98
								
							
						
					
					
						commit
						1bec69df16
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -74,6 +74,9 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
 | 
			
		|||
				query.andWhere('reaction.reaction = :type', { type });
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
			if (me) this.queryService.generateMutedUserQuery(query, me);
 | 
			
		||||
			if (me) this.queryService.generateBlockedUserQuery(query, me);
 | 
			
		||||
 | 
			
		||||
			const reactions = await query.limit(ps.limit).getMany();
 | 
			
		||||
 | 
			
		||||
			return await Promise.all(reactions.map(reaction => this.noteReactionEntityService.pack(reaction, me)));
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue