4 #include "gmime-extra.h"
10 /* This is a collection of message structure and message format repair
11 * techniques that are designed to improve the user experience of
14 /* If payload is a cryptographic payload within an encrypted message, and
15 * it has a "legacy display" part, then we can skip over it and jump
16 * to the actual content, because notmuch already handles protected
17 * headers appropriately.
19 * This function either returns payload directly (if it does not have
20 * a "legacy display" part), or it returns a pointer to its
21 * content-bearing subpart, with the "legacy display" part and the
22 * surrounding multipart/mixed object bypassed.
24 * No new objects are created by calling this function, and the
25 * returned object will only be released when the original part is
29 _notmuch_repair_crypto_payload_skip_legacy_display (GMimeObject *payload);