Add dateTimestampSource for #1554

This commit is contained in:
the-djmaze 2024-06-04 13:22:23 +02:00
parent ba46e995cd
commit e68179c752

View file

@ -506,7 +506,9 @@ class Message implements \JsonSerializable
'spamScore' => $this->bIsSpam ? 100 : $this->SpamScore,
'spamResult' => $this->sSpamResult,
'isSpam' => $this->bIsSpam,
// RainLoop had the date_from_headers option
'dateTimestamp' => $this->iHeaderTimeStampInUTC ?: $this->iInternalTimeStampInUTC,
'dateTimestampSource' => $this->iHeaderTimeStampInUTC ? 'header' : 'internal',
// \MailSo\Mime\EmailCollection
'from' => $this->oFrom,