mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-03-04 12:05:04 +08:00
[local-sync] Designate role for archive folder
This commit is contained in:
parent
33080805e3
commit
e7de61b56a
2 changed files with 4 additions and 1 deletions
|
@ -2,7 +2,7 @@ const {Provider, PromiseUtils} = require('isomorphic-core');
|
|||
const SyncOperation = require('../sync-operation')
|
||||
const {localizedCategoryNames} = require('../sync-utils')
|
||||
|
||||
const BASE_ROLES = ['inbox', 'sent', 'trash', 'spam'];
|
||||
const BASE_ROLES = ['inbox', 'archive', 'sent', 'trash', 'spam'];
|
||||
const GMAIL_ROLES_WITH_FOLDERS = ['all', 'trash', 'spam'];
|
||||
|
||||
class FetchFolderList extends SyncOperation {
|
||||
|
|
|
@ -33,5 +33,8 @@ module.exports = {
|
|||
'inbox.papierkorb', 'odeslan\xc3\xa9', 'mail/sent-mail',
|
||||
'ko\xc5\xa1', 'outbox', 'outbox', 'inbox.sentmail', 'gesendet',
|
||||
'ko\xc5\xa1/sent items', 'gesendete elemente'],
|
||||
archive: [
|
||||
'archive',
|
||||
],
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue