mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Fix suspension/unsuspension not working because of FeedManager change (#15099)
This commit is contained in:
parent
acc1c03861
commit
f84239ecab
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user