mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
cleanup some json code
This commit is contained in:
parent
f23b7205c6
commit
528b6cd096
5 changed files with 19 additions and 12 deletions
|
|
@ -18,6 +18,7 @@ export class AttachmentModel extends AbstractModel {
|
|||
this.checked = ko.observable(true);
|
||||
|
||||
this.mimeType = '';
|
||||
// this.mimeTypeParams = '';
|
||||
this.fileName = '';
|
||||
this.fileNameExt = '';
|
||||
this.fileType = FileType.Unknown;
|
||||
|
|
|
|||
|
|
@ -74,6 +74,7 @@ export class MessageModel extends AbstractModel {
|
|||
this.to = new EmailCollectionModel;
|
||||
this.cc = new EmailCollectionModel;
|
||||
this.bcc = new EmailCollectionModel;
|
||||
this.sender = new EmailCollectionModel;
|
||||
this.replyTo = new EmailCollectionModel;
|
||||
this.deliveredTo = new EmailCollectionModel;
|
||||
this.body = null;
|
||||
|
|
@ -120,6 +121,11 @@ export class MessageModel extends AbstractModel {
|
|||
|
||||
readReceipt: '',
|
||||
|
||||
autocrypt: '',
|
||||
// rfc8621
|
||||
id: '',
|
||||
// threadId: '',
|
||||
|
||||
hasUnseenSubMessage: false,
|
||||
hasFlaggedSubMessage: false
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue