Merge branch 'main' into glitch-soc/merge-upstream

This commit is contained in:
Claire
2022-11-07 19:53:30 +01:00
193 changed files with 2791 additions and 1575 deletions

View File

@@ -8,7 +8,9 @@ class MoveWorker
@target_account = Account.find(target_account_id)
if @target_account.local? && @source_account.local?
rewrite_follows!
nb_moved = rewrite_follows!
@source_account.update_count!(:followers_count, -nb_moved)
@target_account.update_count!(:followers_count, nb_moved)
else
queue_follow_unfollows!
end