Simplify filtering condition
This commit is contained in:
		
							parent
							
								
									3489cb87b7
								
							
						
					
					
						commit
						a6ce37528e
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -47,7 +47,7 @@ const makeGetStatusIds = (pending = false) => createSelector([ | ||||||
|       showStatus = showStatus && statusForId.get('visibility') !== 'direct'; |       showStatus = showStatus && statusForId.get('visibility') !== 'direct'; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     if (showStatus && regex && statusForId.get('account') !== me) { |     if (showStatus && regex) { | ||||||
|       const searchIndex = statusForId.get('reblog') ? statuses.getIn([statusForId.get('reblog'), 'search_index']) : statusForId.get('search_index'); |       const searchIndex = statusForId.get('reblog') ? statuses.getIn([statusForId.get('reblog'), 'search_index']) : statusForId.get('search_index'); | ||||||
|       showStatus = !regex.test(searchIndex); |       showStatus = !regex.test(searchIndex); | ||||||
|     } |     } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue