[local-sync] Designate role for archive folder

This commit is contained in:
Jackie Luo 2017-01-06 16:53:16 -08:00
parent 33080805e3
commit e7de61b56a
2 changed files with 4 additions and 1 deletions

View file

@ -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 {

View file

@ -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',
],
},
}