diff options
author | Claire <claire.github-309c@sitedethib.com> | 2020-12-14 23:00:04 +0100 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2020-12-14 23:05:32 +0100 |
commit | 1978f7265e1e83bda25413da26f53c53110af764 (patch) | |
tree | c82b9eedab319d0fc5e7addeac0a4b6e1fb61c29 /app | |
parent | 4acb5c90a271779a050c4d3b54562bd29359e5c0 (diff) |
Fix processing of Delete activities on direct messages
Diffstat (limited to 'app')
-rw-r--r-- | app/services/remove_status_service.rb | 2 |
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 |