diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-07-23 19:18:52 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-07-23 19:18:52 -0500 |
commit | aaae5aee52b2204345c356c08ea3fcaafa096677 (patch) | |
tree | e352848716f6525af3098c54460f9331cadb2d7c | |
parent | de542eca57fabf7836ad1c7f7f4a36974afd2412 (diff) |
should not reject imported posts
-rw-r--r-- | app/helpers/autoreject_helper.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/helpers/autoreject_helper.rb b/app/helpers/autoreject_helper.rb index 4c66b46f9..f11e32530 100644 --- a/app/helpers/autoreject_helper.rb +++ b/app/helpers/autoreject_helper.rb @@ -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 |