mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 13:09:21 +03:00
Remove most DoFolders loops as they are not used.
And move system folder detection/autocreate to MailboxDetectPlugin because it is hardly used. And by using mailbox.role the default system folder detection is only using (IMAP and JMAP) RFC standards.
This commit is contained in:
parent
8799cd3e8d
commit
54896bf044
18 changed files with 419 additions and 468 deletions
|
|
@ -4,14 +4,27 @@
|
|||
* @enum {number}
|
||||
*/
|
||||
export const FolderType = {
|
||||
User: 0,
|
||||
Inbox: 1,
|
||||
Sent: 2,
|
||||
Drafts: 3,
|
||||
Spam: 4, // JUNK
|
||||
Junk: 4, // Spam
|
||||
Trash: 5,
|
||||
Archive: 6,
|
||||
NotSpam: 80
|
||||
Archive: 6
|
||||
/*
|
||||
IMPORTANT : 10;
|
||||
FLAGGED : 11;
|
||||
ALL : 13;
|
||||
// TODO: SnappyMail
|
||||
TEMPLATES : 19;
|
||||
// Kolab
|
||||
CONFIGURATION : 20;
|
||||
CALENDAR : 21;
|
||||
CONTACTS : 22;
|
||||
TASKS : 23;
|
||||
NOTES : 24;
|
||||
FILES : 25;
|
||||
JOURNAL : 26;
|
||||
*/
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
@ -41,18 +54,6 @@ export const ComposeType = {
|
|||
EditAsNew: 6
|
||||
};
|
||||
|
||||
/**
|
||||
* @enum {number}
|
||||
*/
|
||||
export const SetSystemFoldersNotification = {
|
||||
None: 0,
|
||||
Sent: 1,
|
||||
Draft: 2,
|
||||
Spam: 3,
|
||||
Trash: 4,
|
||||
Archive: 5
|
||||
};
|
||||
|
||||
/**
|
||||
* @enum {number}
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue