about summary refs log tree commit diff
path: root/app/services
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2020-12-14 23:00:04 +0100
committerThibG <thib@sitedethib.com>2020-12-14 23:05:32 +0100
commit1978f7265e1e83bda25413da26f53c53110af764 (patch)
treec82b9eedab319d0fc5e7addeac0a4b6e1fb61c29 /app/services
parent4acb5c90a271779a050c4d3b54562bd29359e5c0 (diff)
Fix processing of Delete activities on direct messages
Diffstat (limited to 'app/services')
-rw-r--r--app/services/remove_status_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/remove_status_service.rb b/app/services/remove_status_service.rb
index 2918c6f6f..764ed288d 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