clamav plugin: don't skip MULTIPART parts
[claws.git] / src / plugins / clamav / clamav_plugin.c
index 9676be2a3daa561be9cf5f09d47758420f95572a..3aeeaac8ea8dc879f53e9912bb6ff0f5acf947fa 100644 (file)
@@ -110,10 +110,6 @@ static gboolean mail_filtering_hook(gpointer source, gpointer data)
                scan_archive = TRUE;
 
        while (child != NULL) {
                scan_archive = TRUE;
 
        while (child != NULL) {
-               if (child->children || child->mime_type == MIME_MULTIPART) {
-                       child = procmime_mimeinfo_next(child);
-                       continue;
-               }
                if(child->parent && child->parent->parent
                && !strcasecmp(child->parent->parent->content_type, "multipart/signed")
                && child->mime_type == MIME_TEXT) {
                if(child->parent && child->parent->parent
                && !strcasecmp(child->parent->parent->content_type, "multipart/signed")
                && child->mime_type == MIME_TEXT) {