By default not downloading any attachments anymore
This commit is contained in:
parent
922fa629ae
commit
5abfa0b641
|
@ -29,7 +29,7 @@ open class FetchEmailsOptions(
|
||||||
val onEmailReceived: ((Email) -> Unit)? = null
|
val onEmailReceived: ((Email) -> Unit)? = null
|
||||||
) {
|
) {
|
||||||
companion object {
|
companion object {
|
||||||
val DefaultDownloadedAttachmentsWithExtensions = listOf("pdf", "xml")
|
val DefaultDownloadedAttachmentsWithExtensions = emptyList<String>()
|
||||||
|
|
||||||
val DefaultAttachmentsDownloadDirectory: File = File(System.getProperty("java.io.tmpdir"), "eInvoices").also { it.mkdirs() }
|
val DefaultAttachmentsDownloadDirectory: File = File(System.getProperty("java.io.tmpdir"), "eInvoices").also { it.mkdirs() }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue