commit 77c87a5487894bd6c41d1c04b1ff0e8c74590a5c
parent b0b00a3b3e27b6d0bd58f05d96269399b7592fce
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date: Sat, 1 Sep 2007 06:29:01 +0000
bugfix: message body decoding
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@557 5c8cc53c-5e98-4d25-b20a-d8db53a31250
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/sup/message.rb b/lib/sup/message.rb
@@ -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