mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
fix logic take2
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user