Removed debugging code

This commit is contained in:
dankito 2024-11-26 06:44:24 +01:00
parent b37c4619d2
commit af03c0d5d3
1 changed files with 0 additions and 4 deletions

View File

@ -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)
}