[iso-core] Fix typo in IMAPBox

This commit is contained in:
Juan Tejada 2017-02-28 11:16:11 -08:00
parent 9fd2f097b0
commit 6cf9e487b0

View file

@ -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) => {