From af03c0d5d3d9558e434add6bcc8e3a5f7954f6ba Mon Sep 17 00:00:00 2001 From: dankito Date: Tue, 26 Nov 2024 06:44:24 +0100 Subject: [PATCH] Removed debugging code --- .../main/kotlin/net/codinux/invoicing/email/EmailsFetcher.kt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/e-invoice-domain/src/main/kotlin/net/codinux/invoicing/email/EmailsFetcher.kt b/e-invoice-domain/src/main/kotlin/net/codinux/invoicing/email/EmailsFetcher.kt index 1ffe7d9..eb34515 100644 --- a/e-invoice-domain/src/main/kotlin/net/codinux/invoicing/email/EmailsFetcher.kt +++ b/e-invoice-domain/src/main/kotlin/net/codinux/invoicing/email/EmailsFetcher.kt @@ -135,10 +135,6 @@ open class EmailsFetcher( val messageBodyParts = parts.filter { it.part.fileName == null && it.mediaType in MessageBodyMediaTypes } val attachmentParts = parts.filter { it !in messageBodyParts } - if (attachmentParts.any { it.mediaType in MessageBodyMediaTypes }) { - log.info { "Ups, that does not seem to be a message part" } - } - val attachments = attachmentParts.mapNotNull { part -> findAttachment(part, status) }