summaryrefslogtreecommitdiffstats
path: root/mailnews/mime/src/mimemalt.cpp
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-12-02 23:47:40 -0500
committerGaming4JC <g4jc@hyperbola.info>2019-12-02 23:50:23 -0500
commit282cdd6bafecd5b406f39151e6fba686f9e7f3c3 (patch)
tree449d1dfd874e73d363d639783b538164e2fce450 /mailnews/mime/src/mimemalt.cpp
parentb797607a8fcdbdc8e9690e871a86aeed5f6517bd (diff)
downloadUXP-282cdd6bafecd5b406f39151e6fba686f9e7f3c3.tar
UXP-282cdd6bafecd5b406f39151e6fba686f9e7f3c3.tar.gz
UXP-282cdd6bafecd5b406f39151e6fba686f9e7f3c3.tar.lz
UXP-282cdd6bafecd5b406f39151e6fba686f9e7f3c3.tar.xz
UXP-282cdd6bafecd5b406f39151e6fba686f9e7f3c3.zip
Bug 1571481 - Improve multipart/alternative.
w/ Fixup for 1464056 - Follow-up: rename pref to align with mailnews.p7m_external (which was already in 52.x but missing a single line) Tag #1311
Diffstat (limited to 'mailnews/mime/src/mimemalt.cpp')
-rw-r--r--mailnews/mime/src/mimemalt.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/mailnews/mime/src/mimemalt.cpp b/mailnews/mime/src/mimemalt.cpp
index 3354b1f9b..9ad750cd7 100644
--- a/mailnews/mime/src/mimemalt.cpp
+++ b/mailnews/mime/src/mimemalt.cpp
@@ -282,6 +282,10 @@ MimeMultipartAlternative_parse_eof (MimeObject *obj, bool abort_p)
static int
MimeMultipartAlternative_create_child(MimeObject *obj)
{
+ if (obj->options) {
+ obj->options->is_child = true;
+ }
+
MimeMultipart *mult = (MimeMultipart *) obj;
MimeMultipartAlternative *malt = (MimeMultipartAlternative *) obj;