following yourself no longer boosts rank

This commit is contained in:
biglyderv 2025-01-24 13:58:22 -05:00
parent 3e330f8454
commit 0271be9256

View file

@ -27,7 +27,7 @@
$followers = $stmt->fetchAll(PDO::FETCH_DEFAULT);
foreach ($followers as $follown) {
if ($usern == $follown['target']) continue;
if ($usern['username'] == $follown['target']) continue;
$pr[$usern['username']] += $pr[$follown['target']] / 10;
}