- if (! g_mime_content_type_is_type (g_mime_object_get_content_type (first),
- "text", "rfc822-headers"))
+ /* Early implementations that generated "Legacy Display" parts used
+ Content-Type: text/rfc822-headers, but text/plain is more widely
+ rendered, so it is now the standard choice. We accept either as a
+ Legacy Display part. */
+ if (! (g_mime_content_type_is_type (g_mime_object_get_content_type (first),
+ "text", "plain") ||
+ g_mime_content_type_is_type (g_mime_object_get_content_type (first),
+ "text", "rfc822-headers")))