When unfollowing, remove from home in web UI immediately (#5369)
Do NOT send "delete" through streaming API when unmerging from home timeline. "delete" implies that the original status was deleted, which is not true!
This commit is contained in:
parent
95fe20b78a
commit
388d093beb
3 changed files with 13 additions and 3 deletions
|
@ -85,7 +85,7 @@ class FeedManager
|
|||
oldest_home_score = redis.zrange(timeline_key, 0, 0, with_scores: true)&.first&.last&.to_i || 0
|
||||
|
||||
from_account.statuses.select('id, reblog_of_id').where('id > ?', oldest_home_score).reorder(nil).find_each do |status|
|
||||
unpush(:home, into_account, status)
|
||||
remove_from_feed(:home, into_account, status)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue