fixed protocol bug with double body
authoradam <adam@megacz.com>
Wed, 28 Feb 2007 06:50:22 +0000 (06:50 +0000)
committeradam <adam@megacz.com>
Wed, 28 Feb 2007 06:50:22 +0000 (06:50 +0000)
darcs-hash:20070228065022-5007d-154aebeb3432c81455aec0a13784b423ca868e1a.gz

src/org/ibex/mail/protocol/IMAP.java

index 22ff402..f6c084f 100644 (file)
@@ -44,7 +44,7 @@ public class IMAP {
     // FIXME this is evil
     public static String getBodyString(Message m) {
         StringBuffer sb = new StringBuffer();
-        m.getStream().transcribe(sb);
+        m.getBody().getStream().transcribe(sb);
         return sb.toString();
     }