mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-22 08:16:09 +08:00
[local-sync] Designate role for archive folder
This commit is contained in:
parent
33080805e3
commit
e7de61b56a
|
@ -2,7 +2,7 @@ const {Provider, PromiseUtils} = require('isomorphic-core');
|
||||||
const SyncOperation = require('../sync-operation')
|
const SyncOperation = require('../sync-operation')
|
||||||
const {localizedCategoryNames} = require('../sync-utils')
|
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'];
|
const GMAIL_ROLES_WITH_FOLDERS = ['all', 'trash', 'spam'];
|
||||||
|
|
||||||
class FetchFolderList extends SyncOperation {
|
class FetchFolderList extends SyncOperation {
|
||||||
|
|
|
@ -33,5 +33,8 @@ module.exports = {
|
||||||
'inbox.papierkorb', 'odeslan\xc3\xa9', 'mail/sent-mail',
|
'inbox.papierkorb', 'odeslan\xc3\xa9', 'mail/sent-mail',
|
||||||
'ko\xc5\xa1', 'outbox', 'outbox', 'inbox.sentmail', 'gesendet',
|
'ko\xc5\xa1', 'outbox', 'outbox', 'inbox.sentmail', 'gesendet',
|
||||||
'ko\xc5\xa1/sent items', 'gesendete elemente'],
|
'ko\xc5\xa1/sent items', 'gesendete elemente'],
|
||||||
|
archive: [
|
||||||
|
'archive',
|
||||||
|
],
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue