summaryrefslogtreecommitdiff
path: root/mailnews/imap
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-05-06 09:24:03 +0000
committerMoonchild <moonchild@palemoon.org>2021-05-06 09:24:03 +0000
commit6f707bde95dab6998ac204f9ee6c925ee230c740 (patch)
tree859f6cf99f2e026b76dcc40b27b211154310d16e /mailnews/imap
parentaa0fd3d68c856504646e1d7eb499bc890ef44101 (diff)
downloaduxp-6f707bde95dab6998ac204f9ee6c925ee230c740.tar.gz
Issue #1751 -- Remove XP_MACOSX conditionals from the rest of the tree.
This also removes some PP abuse and takes file entries out of PP when no longer needed without XP_MACOSX conditionals.
Diffstat (limited to 'mailnews/imap')
-rw-r--r--mailnews/imap/src/nsIMAPBodyShell.cpp21
1 files changed, 1 insertions, 20 deletions
diff --git a/mailnews/imap/src/nsIMAPBodyShell.cpp b/mailnews/imap/src/nsIMAPBodyShell.cpp
index 087fe20337..b81978cc7b 100644
--- a/mailnews/imap/src/nsIMAPBodyShell.cpp
+++ b/mailnews/imap/src/nsIMAPBodyShell.cpp
@@ -724,27 +724,8 @@ bool nsIMAPBodypartLeaf::ShouldFetchInline(nsIMAPBodyShell *aShell)
return false; // we can leave it on the server
}
-#ifdef XP_MACOSX
- // If it is either applesingle, or a resource fork for appledouble
- if (!PL_strcasecmp(m_contentType, "application/applefile"))
- {
- // if it is appledouble
- if (m_parentPart->GetType() == IMAP_BODY_MULTIPART &&
- !PL_strcasecmp(m_parentPart->GetBodySubType(), "appledouble"))
- {
- // This is the resource fork of a multipart/appledouble.
- // We inherit the inline attributes of the parent,
- // which was derived from its OTHER child. (The data fork.)
- return m_parentPart->ShouldFetchInline(aShell);
- }
- else // it is applesingle
- {
- return false; // we can leave it on the server
- }
- }
-#endif // XP_MACOSX
- // Leave out parts with type application/*
+ // Leave out parts with type application/(*)
if (!PL_strcasecmp(m_bodyType, "APPLICATION") && // If it is of type "application"
PL_strncasecmp(m_bodySubType, "x-pkcs7", 7) // and it's not a signature (signatures are inline)
)