diff options
author | ThibG <thib@sitedethib.com> | 2020-11-07 13:16:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-07 13:16:00 +0100 |
commit | f84239ecabf5d92d0275894ee357e58af0a4e711 (patch) | |
tree | d4f5b7e7bfbad120958239668bc8e5495cba7fdf /app | |
parent | acc1c038610a82d8470acde6753716da0dc4b1fa (diff) |
Fix suspension/unsuspension not working because of FeedManager change (#15099)
Diffstat (limited to 'app')
-rw-r--r-- | app/services/suspend_account_service.rb | 2 | ||||
-rw-r--r-- | app/services/unsuspend_account_service.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/services/suspend_account_service.rb b/app/services/suspend_account_service.rb index 5a079c3ac..ea96767fa 100644 --- a/app/services/suspend_account_service.rb +++ b/app/services/suspend_account_service.rb @@ -18,7 +18,7 @@ class SuspendAccountService < BaseService def unmerge_from_home_timelines! @account.followers_for_local_distribution.find_each do |follower| - FeedManager.instance.unmerge_from_timeline(@account, follower) + FeedManager.instance.unmerge_from_home(@account, follower) end end diff --git a/app/services/unsuspend_account_service.rb b/app/services/unsuspend_account_service.rb index 3e731ddd9..fe49e3471 100644 --- a/app/services/unsuspend_account_service.rb +++ b/app/services/unsuspend_account_service.rb @@ -18,7 +18,7 @@ class UnsuspendAccountService < BaseService def merge_into_home_timelines! @account.followers_for_local_distribution.find_each do |follower| - FeedManager.instance.merge_into_timeline(@account, follower) + FeedManager.instance.merge_into_home(@account, follower) end end |