sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit bb3716f5e791c88c19ae9b30eef90f8b61aff9b0
parent d7fe1056e17c8e485402d92f270fc48cea969fa4
Author: William Morgan <wmorgan-sup@masanjin.net>
Date:   Thu,  3 Jan 2008 21:04:28 -0800

workaround for a rmail MIME parsing bug

Diffstat:
M lib/sup/message.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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