Skip to content
Snippets Groups Projects
Unverified Commit 45b849ba authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

Fix MergeWorker being queued for remote users (#10355)

parent 0f9278c3
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@ class FollowRequest < ApplicationRecord
def authorize!
account.follow!(target_account, reblogs: show_reblogs, uri: uri)
MergeWorker.perform_async(target_account.id, account.id)
MergeWorker.perform_async(target_account.id, account.id) if account.local?
destroy!
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment