Fix processing of Delete activities on direct messages

pull/1478/head
Claire 2020-12-14 23:00:04 +01:00 committed by ThibG
parent 4acb5c90a2
commit 1978f7265e
1 changed files with 1 additions and 1 deletions

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