Change RuboCop rules to loose (#4464)
This commit is contained in:
committed by
Eugen Rochko
parent
93aafa8549
commit
3e7a541e09
@ -90,7 +90,7 @@ class BatchedRemoveStatusService < BaseService
|
||||
key = FeedManager.instance.key(:home, follower_id)
|
||||
|
||||
originals = statuses.reject(&:reblog?)
|
||||
reblogs = statuses.reject { |s| !s.reblog? }
|
||||
reblogs = statuses.select(&:reblog?)
|
||||
|
||||
# Quickly remove all originals
|
||||
redis.pipelined do
|
||||
|
Reference in New Issue
Block a user