Fix processing of Delete activities on direct messages

lolsob-rspec
Claire 2020-12-14 23:00:04 +01:00 committed by ThibG
parent dfe64b8767
commit ab80c3215a
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ class RemoveStatusService < BaseService
end end
def remove_from_direct def remove_from_direct
@mentions.each do |mention| @status.active_mentions.each do |mention|
FeedManager.instance.unpush_from_direct(mention.account, @status) if mention.account.local? FeedManager.instance.unpush_from_direct(mention.account, @status) if mention.account.local?
end end
end end