Fix MergeWorker being queued for remote users (#10355)
This commit is contained in:
		| @@ -26,7 +26,7 @@ class FollowRequest < ApplicationRecord | |||||||
|  |  | ||||||
|   def authorize! |   def authorize! | ||||||
|     account.follow!(target_account, reblogs: show_reblogs, uri: uri) |     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! |     destroy! | ||||||
|   end |   end | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user