mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-22 05:08:03 +00:00
parent
f8fe394e7a
commit
605e2a417c
|
@ -33,10 +33,8 @@ class RemoveStatusService < BaseService
|
||||||
end
|
end
|
||||||
|
|
||||||
def remove_from_followers
|
def remove_from_followers
|
||||||
redis.pipelined do
|
@account.followers.local.find_each do |follower|
|
||||||
@account.followers.local.find_each do |follower|
|
unpush(:home, follower, @status)
|
||||||
unpush(:home, follower, @status)
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue