about summary refs log tree commit diff
path: root/app/services
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-08-19 09:27:18 +0200
committerThibaut Girka <thib@sitedethib.com>2018-08-19 09:27:18 +0200
commit88a0395a58739ff0a4bc8ff79bc0b60ac2c0f736 (patch)
tree301ba59a7d214d5cf655263c95d731b9f18b6566 /app/services
parent44e31c3e531e5c206003b7ed83ee1d6fdd3b2b53 (diff)
parent59c68c1a74d5398b9c31489744ff8eca82e2ce50 (diff)
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'app/services')
-rw-r--r--app/services/process_mentions_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/process_mentions_service.rb b/app/services/process_mentions_service.rb
index 2ed6698cf..b4641c4b4 100644
--- a/app/services/process_mentions_service.rb
+++ b/app/services/process_mentions_service.rb
@@ -25,7 +25,7 @@ class ProcessMentionsService < BaseService
         end
       end
 
-      next match if mention_undeliverable?(mentioned_account)
+      next match if mention_undeliverable?(mentioned_account) || mentioned_account&.suspended
 
       mentions << mentioned_account.mentions.where(status: status).first_or_create(status: status)