sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit bfab13579b71ce47bc023a48fe1298d55fb8f015
parent 43b3758f877452545772cd84baf5a207ebb9f366
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date:   Wed, 29 Nov 2006 02:15:22 +0000

ignore all multipart/ mime chunks


git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@45 5c8cc53c-5e98-4d25-b20a-d8db53a31250

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
@@ -210,7 +210,7 @@ private
           m.body
         body = m.decode or raise MessageFormatError, "no message body"
         text_to_chunks body.gsub(/\t/, "    ").gsub(/\r/, "").split("\n")
-      when "multipart/alternative", "multipart/mixed"
+      when /^multipart\//
         nil
       else
         disp = m.header["Content-Disposition"] || ""