lib/sup/crypto.rb in sup-0.14.0 vs lib/sup/crypto.rb in sup-0.14.1

- old
+ new

@@ -338,10 +338,10 @@ # hence being shown as an attachment. If we detect this is happening, # we force the decrypted payload to be interpreted as MIME. msg = RMail::Parser.read output if msg.header.content_type =~ %r{^multipart/} && !msg.multipart? output = "MIME-Version: 1.0\n" + output - output.fix_encoding + output.fix_encoding! msg = RMail::Parser.read output end end notice = Chunk::CryptoNotice.new :valid, "This message has been decrypted for display" [notice, sig, msg]