Browse Source

Fix MergeWorker being queued for remote users (#10355)

pull/4/head
Eugen Rochko 5 years ago
committed by GitHub
parent
commit
45b849bad9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/models/follow_request.rb

+ 1
- 1
app/models/follow_request.rb View File

@ -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

Loading…
Cancel
Save