@bobfrankston/iflow 1.0.41 → 1.0.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/imaplib/imap-native.js +6 -2
- package/package.json +1 -1
package/imaplib/imap-native.js
CHANGED
|
@@ -530,9 +530,13 @@ export class NativeImapClient {
|
|
|
530
530
|
this.pendingCommand.responses.push(resp);
|
|
531
531
|
continue;
|
|
532
532
|
}
|
|
533
|
-
// Continuation
|
|
533
|
+
// Continuation response
|
|
534
534
|
if (resp.tag === "+") {
|
|
535
|
-
//
|
|
535
|
+
// If not in IDLE and no one is waiting for continuation (APPEND),
|
|
536
|
+
// this is likely an AUTHENTICATE challenge — send empty line to cancel
|
|
537
|
+
if (!this.idleTag && this.pendingCommand) {
|
|
538
|
+
this.transport.write("\r\n").catch(() => { });
|
|
539
|
+
}
|
|
536
540
|
continue;
|
|
537
541
|
}
|
|
538
542
|
// Tagged response — command complete
|