Fix unfollows not clearing reblogs, fix blocks not clearing reblogs and notifications,
skip ActionCable for follow/unfollow/block events, instead clear UI from blocked account's posts instantly if block request succeeds. Add forgotten i18n for sensitive content
This commit is contained in:
parent
3373ae02de
commit
7cee27f517
13 changed files with 86 additions and 27 deletions
|
@ -17,9 +17,8 @@ class UnfollowService < BaseService
|
|||
|
||||
from_account.statuses.select('id').find_each do |status|
|
||||
redis.zrem(timeline_key, status.id)
|
||||
redis.zremrangebyscore(timeline_key, status.id, status.id)
|
||||
end
|
||||
|
||||
FeedManager.instance.broadcast(into_account.id, type: 'unmerge')
|
||||
end
|
||||
|
||||
def redis
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue