Fix check for PotentialFriendshipTracker when replying (#7933)
This commit is contained in:
		
							parent
							
								
									3cb10d1020
								
							
						
					
					
						commit
						e57d9177dc
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -83,7 +83,7 @@ class PostStatusService < BaseService
 | 
				
			||||||
  end
 | 
					  end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  def bump_potential_friendship(account, status)
 | 
					  def bump_potential_friendship(account, status)
 | 
				
			||||||
    return if !status.reply? || account.following?(status.account_id)
 | 
					    return if !status.reply? || account.following?(status.in_reply_to_account_id)
 | 
				
			||||||
    PotentialFriendshipTracker.record(account.id, status.in_reply_to_account_id, :reply)
 | 
					    PotentialFriendshipTracker.record(account.id, status.in_reply_to_account_id, :reply)
 | 
				
			||||||
  end
 | 
					  end
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue