mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-08 13:44:53 +08:00
[cloud] Store resolved settings for returning to client
This commit is contained in:
parent
3f050ea150
commit
30a94a6c9b
1 changed files with 3 additions and 2 deletions
|
@ -47,9 +47,10 @@ class IMAPConnection extends EventEmitter {
|
|||
|
||||
connect() {
|
||||
if (!this._connectPromise) {
|
||||
this._connectPromise = this._resolveIMAPSettings().then((settings) =>
|
||||
this._connectPromise = this._resolveIMAPSettings().then((settings) => {
|
||||
this.resolvedSettings = settings
|
||||
this._buildUnderlyingConnection(settings)
|
||||
);
|
||||
});
|
||||
}
|
||||
return this._connectPromise;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue