Fix two small errors

This commit is contained in:
Halla Moore 2016-07-11 14:12:03 -07:00
parent 1360599ffc
commit 0860f3027c
2 changed files with 4 additions and 1 deletions

View file

@ -185,7 +185,7 @@ class FetchMessagesInFolder {
this._logger.info({ this._logger.info({
key, key,
num_messages: uids.length, num_messages: uids.length,
}`FetchMessagesInFolder: Fetching parts for messages`) }, `FetchMessagesInFolder: Fetching parts for messages`)
// note: the order of UIDs in the array doesn't matter, Gmail always // note: the order of UIDs in the array doesn't matter, Gmail always
// returns them in ascending (oldest => newest) order. // returns them in ascending (oldest => newest) order.

View file

@ -55,6 +55,9 @@ class SyncWorker {
this._onAccountUpdated(); break; this._onAccountUpdated(); break;
case MessageTypes.SYNCBACK_REQUESTED: case MessageTypes.SYNCBACK_REQUESTED:
this.syncNow({reason: 'Syncback Action Queued'}); break; this.syncNow({reason: 'Syncback Action Queued'}); break;
case MessageTypes.ACCOUNT_CREATED:
// No other processing currently required for account creation
break;
default: default:
this._logger.error({message: msg}, 'SyncWorker: Invalid message') this._logger.error({message: msg}, 'SyncWorker: Invalid message')
} }