mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 19:49:20 +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
|
|
@ -220,8 +220,8 @@ export class MailMessageView extends AbstractViewRight {
|
|||
this.deleteCommand = createCommandActionHelper(FolderType.Trash);
|
||||
this.deleteWithoutMoveCommand = createCommandActionHelper(FolderType.Trash, true);
|
||||
this.archiveCommand = createCommandActionHelper(FolderType.Archive);
|
||||
this.spamCommand = createCommandActionHelper(FolderType.Spam);
|
||||
this.notSpamCommand = createCommandActionHelper(FolderType.NotSpam);
|
||||
this.spamCommand = createCommandActionHelper(FolderType.Junk);
|
||||
this.notSpamCommand = createCommandActionHelper(FolderType.Inbox);
|
||||
|
||||
decorateKoCommands(this, {
|
||||
editCommand: self => self.messageVisibility(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue