simplifications around mutt_is_message_type
[apps/madmutt.git] / handler.c
index c72ddfc..2ecf577 100644 (file)
--- a/handler.c
+++ b/handler.c
@@ -1329,7 +1329,7 @@ int mutt_body_handler (BODY * b, STATE * s)
       plaintext = 1;
   }
   else if (b->type == TYPEMESSAGE) {
-    if (mutt_is_message_type (b->type, b->subtype))
+    if (mutt_is_message_type (b))
       handler = message_handler;
     else if (!ascii_strcasecmp ("delivery-status", b->subtype))
       plaintext = 1;