From 0b05bf7fc2331ea79624688fdf24172a75b1ed5f Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 6 Oct 2022 09:26:37 +0200 Subject: [PATCH] Fixed encoding of nested messages --- app/src/main/java/com/sun/mail/imap/IMAPNestedMessage.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/src/main/java/com/sun/mail/imap/IMAPNestedMessage.java b/app/src/main/java/com/sun/mail/imap/IMAPNestedMessage.java index 12cd4e453a..0ffb3b68f8 100644 --- a/app/src/main/java/com/sun/mail/imap/IMAPNestedMessage.java +++ b/app/src/main/java/com/sun/mail/imap/IMAPNestedMessage.java @@ -124,6 +124,11 @@ public class IMAPNestedMessage extends IMAPMessage { return bs.size; } + @Override + public String getEncoding() throws MessagingException { + return bs.encoding; + } + /* * Disallow setting flags on nested messages */