about summary refs log tree commit diff
path: root/app/services/suspend_account_service.rb
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-11-07 13:16:00 +0100
committerGitHub <noreply@github.com>2020-11-07 13:16:00 +0100
commitf84239ecabf5d92d0275894ee357e58af0a4e711 (patch)
treed4f5b7e7bfbad120958239668bc8e5495cba7fdf /app/services/suspend_account_service.rb
parentacc1c038610a82d8470acde6753716da0dc4b1fa (diff)
Fix suspension/unsuspension not working because of FeedManager change (#15099)
Diffstat (limited to 'app/services/suspend_account_service.rb')
-rw-r--r--app/services/suspend_account_service.rb2
1 files changed, 1 insertions, 1 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