mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-22 00:06:06 +08:00
Fix two small errors
This commit is contained in:
parent
1360599ffc
commit
0860f3027c
|
@ -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.
|
||||||
|
|
|
@ -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')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue