should not reject imported posts

staging
multiple creatures 2019-07-23 19:18:52 -05:00
parent de542eca57
commit aaae5aee52
1 changed files with 2 additions and 1 deletions

View File

@ -57,7 +57,8 @@ module AutorejectHelper
end
def autoreject?(uri = nil)
if (@options && @options[:imported]) || should_reject?(uri)
return false if @options && @options[:imported]
if should_reject?(uri)
if @json
Rails.logger.info("Auto-rejected #{@json['id']} (#{@json['type']})")
elsif uri