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({
|
||||
key,
|
||||
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
|
||||
// returns them in ascending (oldest => newest) order.
|
||||
|
|
|
@ -55,6 +55,9 @@ class SyncWorker {
|
|||
this._onAccountUpdated(); break;
|
||||
case MessageTypes.SYNCBACK_REQUESTED:
|
||||
this.syncNow({reason: 'Syncback Action Queued'}); break;
|
||||
case MessageTypes.ACCOUNT_CREATED:
|
||||
// No other processing currently required for account creation
|
||||
break;
|
||||
default:
|
||||
this._logger.error({message: msg}, 'SyncWorker: Invalid message')
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue