diff --git a/app/workers/question_worker.rb b/app/workers/question_worker.rb index 0416244a..8f7823a6 100644 --- a/app/workers/question_worker.rb +++ b/app/workers/question_worker.rb @@ -12,6 +12,7 @@ class QuestionWorker question = Question.find(question_id) user.followers.each do |f| + next if f.banned? next if MuteRule.where(user: f).any? { |rule| rule.applies_to? question } Inbox.create(user_id: f.id, question_id: question_id, new: true)