mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 03:29:20 +03:00
Move more JSON code into MailSo\Mail\Message
This commit is contained in:
parent
a019f4d80e
commit
49f76ffe76
7 changed files with 75 additions and 70 deletions
|
|
@ -85,7 +85,8 @@ export class MessageModel extends AbstractModel {
|
|||
spamResult: '',
|
||||
isSpam: false,
|
||||
hasVirus: null, // or boolean when scanned
|
||||
dateTimeStampInUTC: 0,
|
||||
dateTimestamp: 0,
|
||||
internalTimestamp: 0,
|
||||
priority: MessagePriority.Normal,
|
||||
|
||||
senderEmailsString: '',
|
||||
|
|
@ -341,7 +342,7 @@ export class MessageModel extends AbstractModel {
|
|||
|
||||
viewPopupMessage(print) {
|
||||
const
|
||||
timeStampInUTC = this.dateTimeStampInUTC() || 0,
|
||||
timeStampInUTC = this.dateTimestamp() || 0,
|
||||
ccLine = this.cc.toString(),
|
||||
bccLine = this.bcc.toString(),
|
||||
m = 0 < timeStampInUTC ? new Date(timeStampInUTC * 1000) : null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue