From: William Morgan Date: Fri, 4 Jan 2008 05:04:28 +0000 (-0800) Subject: workaround for a rmail MIME parsing bug X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=bb3716f5e791c88c19ae9b30eef90f8b61aff9b0;p=sup workaround for a rmail MIME parsing bug --- diff --git a/lib/sup/message.rb b/lib/sup/message.rb index c3c6920..b342ea5 100644 --- a/lib/sup/message.rb +++ b/lib/sup/message.rb @@ -384,7 +384,7 @@ private ## otherwise, it's body text else - body = Message.convert_from m.decode, m.charset + body = Message.convert_from m.decode, m.charset if m.body text_to_chunks (body || "").normalize_whitespace.split("\n"), encrypted end end