Fixed that subject may is null

This commit is contained in:
dankito 2024-11-21 21:24:20 +01:00
parent 2ab10f77d4
commit 0c3f069f1f
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ class MailReader(
if (attachmentsWithEInvoice.isNotEmpty()) {
return MailWithInvoice(
message.from?.joinToString(), message.subject,
message.from?.joinToString(), message.subject ?: "",
message.sentDate?.let { map(it) }, map(message.receivedDate), message.messageNumber,
getPlainTextBody(parts), getHtmlBody(parts),
attachmentsWithEInvoice