Fix refollowing (#4931)
* Make RefollowWorker ActivityPub-only to avoid potential identifier mismatches * Don't call RefollowWorker on new accounts
This commit is contained in:
@ -85,10 +85,8 @@ class ResolveRemoteAccountService < BaseService
|
||||
|
||||
def handle_ostatus
|
||||
create_account if @account.nil?
|
||||
old_public_key = @account.public_key
|
||||
update_account
|
||||
update_account_profile if update_profile?
|
||||
RefollowWorker.perform_async(@account.id) if old_public_key != @account.public_key
|
||||
end
|
||||
|
||||
def update_profile?
|
||||
|
Reference in New Issue
Block a user