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 4acb5c90a2
commit 1978f7265e

View File

@ -160,7 +160,7 @@ class RemoveStatusService < BaseService
end
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?
end
end