A platform for community discussion. Free, open, simple.
FIX: Use raw content when checking for watched words to flag (#10104)
David Taylord473ddd02c9c
diff --git a/app/jobs/regular/process_post.rb b/app/jobs/regular/process_post.rbindex 24048a5f46f..6ba04d4f5b2 100644--- a/app/jobs/regular/process_post.rb+++ b/app/jobs/regular/process_post.rb@@ -41,7 +41,7 @@ module Jobsendif !post.user&.staff? && !post.user&.staged?- s = post.cooked+ s = post.raws << " #{post.topic.title}" if post.post_number == 1if !args[:bypass_bump] && WordWatcher.new(s).should_flag?PostActionCreator.create(