fix logic take2
This commit is contained in:
parent
c5238026a9
commit
226a197335
|
@ -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…
Reference in New Issue