mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-22 00:06:06 +08:00
[iso-core] Fix typo in IMAPBox
This commit is contained in:
parent
9fd2f097b0
commit
6cf9e487b0
|
@ -114,7 +114,7 @@ class IMAPBox {
|
|||
if (!fetchOptions) {
|
||||
throw new Error("IMAPConnection.fetchStream requires an options object.")
|
||||
}
|
||||
return this.__withPreparedConnection((imap) => {
|
||||
return this._withPreparedConnection((imap) => {
|
||||
return new Promise((resolve, reject) => {
|
||||
const f = imap.fetch(uid, fetchOptions);
|
||||
f.on('message', (imapMessage) => {
|
||||
|
|
Loading…
Reference in a new issue