mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-10 18:23:21 +08:00
[client-app] Make sure we retry delta connection when reauthing account
Summary: See title Test Plan: manual Reviewers: halla, evan Reviewed By: halla, evan Differential Revision: https://phab.nylas.com/D4176
This commit is contained in:
parent
d24fc9a235
commit
a8fe22551f
1 changed files with 2 additions and 0 deletions
|
@ -267,6 +267,8 @@ class AccountStore extends NylasStore {
|
|||
const account = this._accounts[existingIdx]
|
||||
account.syncState = Account.SYNC_STATE_RUNNING
|
||||
account.fromJSON(json)
|
||||
// Restart the connection in case account credentials have changed
|
||||
Actions.retryDeltaConnection()
|
||||
}
|
||||
|
||||
this._save()
|
||||
|
|
Loading…
Reference in a new issue