Fix removing status on antenna timeline

This commit is contained in:
KMY 2023-08-19 19:23:34 +09:00
parent 4f86a8cb57
commit ade23645ee
3 changed files with 15 additions and 1 deletions

View file

@ -81,6 +81,9 @@ class RemoveStatusService < BaseService
Antenna.availables.where(list_id: 0).select(:id, :account_id).includes(account: :user).reorder(nil).find_each do |antenna|
FeedManager.instance.unpush_from_home(antenna.account, @status)
end
Antenna.availables.select(:id, :account_id).includes(account: :user).reorder(nil).find_each do |antenna|
FeedManager.instance.unpush_from_antenna(antenna, @status)
end
end
def remove_from_mentions