mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
fix logic take2
This commit is contained in:
parent
c5238026a9
commit
226a197335
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ class PostCreator
|
|||
BadgeGranter.queue_badge_grant(Badge::Trigger::PostRevision, post: @post)
|
||||
end
|
||||
|
||||
if @post && @spam
|
||||
if @post || @spam
|
||||
handle_spam unless @opts[:import_mode]
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue