lib/mail/jdec/detector.rb in mail-jdec-1.0.4 vs lib/mail/jdec/detector.rb in mail-jdec-1.0.5

- old
+ new

@@ -18,10 +18,10 @@ end def trusty?(detected) detected.key?(:type) && detected.key?(:encoding) && - detected[:confidence].to_i > Jdec.autodetect_confidence && + detected[:confidence].to_i >= Jdec.autodetect_confidence && !Jdec.autodetect_skip_charsets.include?(detected[:encoding].downcase) end end end end