Removed all usage of unused MergeWorker
• Removed: - all usage of unused MergeWorker
This commit is contained in:
parent
19a7d2f31a
commit
aac506bd4e
@ -26,7 +26,6 @@ class FollowRequest < ApplicationRecord
|
|||||||
|
|
||||||
def authorize!
|
def authorize!
|
||||||
account.follow!(target_account)
|
account.follow!(target_account)
|
||||||
MergeWorker.perform_async(target_account.id, account.id) if account.local?
|
|
||||||
destroy!
|
destroy!
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -54,8 +54,6 @@ class FollowService < BaseService
|
|||||||
LocalNotificationWorker.perform_async(target_account.id, follow.id, follow.class.name)
|
LocalNotificationWorker.perform_async(target_account.id, follow.id, follow.class.name)
|
||||||
end
|
end
|
||||||
|
|
||||||
MergeWorker.perform_async(target_account.id, source_account.id)
|
|
||||||
|
|
||||||
follow
|
follow
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -19,7 +19,6 @@ class UnfollowService < BaseService
|
|||||||
return unless follow
|
return unless follow
|
||||||
|
|
||||||
follow.destroy!
|
follow.destroy!
|
||||||
UnmergeWorker.perform_async(@target_account.id, @source_account.id)
|
|
||||||
follow
|
follow
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -5,7 +5,5 @@ class UnmuteService < BaseService
|
|||||||
return unless account.muting?(target_account)
|
return unless account.muting?(target_account)
|
||||||
|
|
||||||
account.unmute!(target_account)
|
account.unmute!(target_account)
|
||||||
|
|
||||||
MergeWorker.perform_async(target_account.id, account.id) if account.following?(target_account)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user