API for blocking and unblocking
This commit is contained in:
parent
2c9e672ee2
commit
7b9a4af311
10 changed files with 106 additions and 8 deletions
|
@ -13,7 +13,7 @@ class UnfollowService < BaseService
|
|||
def unmerge_from_timeline(from_account, into_account)
|
||||
timeline_key = FeedManager.instance.key(:home, into_account.id)
|
||||
|
||||
from_account.statuses.find_each do |status|
|
||||
from_account.statuses.select('id').find_each do |status|
|
||||
redis.zrem(timeline_key, status.id)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue