mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 11:42:16 -05:00
Use correct sub-part of a multipart message when getting text.
946565347a
passed 'this' to
getTextFromPart() which could be a multipart. This caused
all multipart messages to show 'No text' as the body.
Fix it by passing it the correct 'part' that was found.
This commit is contained in:
parent
fe8e779b32
commit
e8c6a56fd2
@ -130,7 +130,7 @@ public class LocalMessage extends MimeMessage {
|
||||
}
|
||||
} else {
|
||||
// We successfully found an HTML part; do the necessary character set decoding.
|
||||
text = MessageExtractor.getTextFromPart(this);
|
||||
text = MessageExtractor.getTextFromPart(part);
|
||||
}
|
||||
return text;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user