From 1978f7265e1e83bda25413da26f53c53110af764 Mon Sep 17 00:00:00 2001 From: Claire Date: Mon, 14 Dec 2020 23:00:04 +0100 Subject: [PATCH] Fix processing of Delete activities on direct messages --- app/services/remove_status_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/remove_status_service.rb b/app/services/remove_status_service.rb index 2918c6f6ff..764ed288d3 100644 --- a/app/services/remove_status_service.rb +++ b/app/services/remove_status_service.rb @@ -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