]> git.cworth.org Git - sup/commitdiff
bugfix: message body decoding
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Sat, 1 Sep 2007 06:29:01 +0000 (06:29 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Sat, 1 Sep 2007 06:29:01 +0000 (06:29 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@557 5c8cc53c-5e98-4d25-b20a-d8db53a31250

lib/sup/message.rb

index 1c300dd9ee1df2545e665aa7f3d712def6f48599..2b13e9724547ac24d18bd7d5f9c2f57258e86e53 100644 (file)
@@ -357,7 +357,7 @@ private
 
       ## otherwise, it's body text
       else
-        body = Message.convert_from m.body, m.charset
+        body = Message.convert_from m.decode, m.charset
         text_to_chunks body.normalize_whitespace.split("\n")
       end
     end