Skip to content
Extraits de code Groupes Projets
Valider 47c59591 rédigé par Eugen Rochko's avatar Eugen Rochko Validation de Yamagishi Kazutoshi
Parcourir les fichiers

Do not count self in potential friendships (#8014)

parent c8c25ea7
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -12,6 +12,8 @@ class PotentialFriendshipTracker
class << self
def record(account_id, target_account_id, action)
return if account_id == target_account_id
key = "interactions:#{account_id}"
weight = WEIGHTS[action]
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter