カスタム絵文字リアクションでないものは絵文字クエリをしないように (#5693)
* カスタム絵文字リアクションの絵文字がNoteに添付されないのを修正 * ねんのため * 記述順 * カスタム絵文字リアクションでないものは絵文字クエリをしないように
This commit is contained in:
		
							parent
							
								
									3ecb0ab161
								
							
						
					
					
						commit
						0f25c74415
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -139,9 +139,11 @@ export class NoteRepository extends Repository<Note> { | |||
| 				}); | ||||
| 			} | ||||
| 
 | ||||
| 			reactionNames = reactionNames?.filter(x => x.match(/^:[^:]+:$/)).map(x => x.replace(/:/g, '')); | ||||
| 
 | ||||
| 			if (reactionNames?.length > 0) { | ||||
| 				where.push({ | ||||
| 					name: In(reactionNames.map(x => x.replace(/:/g, ''))), | ||||
| 					name: In(reactionNames), | ||||
| 					host: null | ||||
| 				}); | ||||
| 			} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue