Fix processing of Delete activities on direct messages

This commit is contained in:
Claire 2020-12-14 23:00:04 +01:00 committed by ThibG
parent dfe64b8767
commit ab80c3215a

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