From 5abfa0b6417b0ca263f14bb651624544ad41131a Mon Sep 17 00:00:00 2001 From: dankito Date: Thu, 28 Nov 2024 01:55:18 +0100 Subject: [PATCH] By default not downloading any attachments anymore --- .../kotlin/net/codinux/invoicing/email/FetchEmailsOptions.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e-invoice-domain/src/main/kotlin/net/codinux/invoicing/email/FetchEmailsOptions.kt b/e-invoice-domain/src/main/kotlin/net/codinux/invoicing/email/FetchEmailsOptions.kt index 9e83312..cabaecc 100644 --- a/e-invoice-domain/src/main/kotlin/net/codinux/invoicing/email/FetchEmailsOptions.kt +++ b/e-invoice-domain/src/main/kotlin/net/codinux/invoicing/email/FetchEmailsOptions.kt @@ -29,7 +29,7 @@ open class FetchEmailsOptions( val onEmailReceived: ((Email) -> Unit)? = null ) { companion object { - val DefaultDownloadedAttachmentsWithExtensions = listOf("pdf", "xml") + val DefaultDownloadedAttachmentsWithExtensions = emptyList() val DefaultAttachmentsDownloadDirectory: File = File(System.getProperty("java.io.tmpdir"), "eInvoices").also { it.mkdirs() } }