From 0be014dbd75bedd2f99306f997c08d9d573aa0d2 Mon Sep 17 00:00:00 2001 From: Brendan Cully Date: Tue, 26 Aug 2008 02:07:21 -0700 Subject: [PATCH] Remove leftover IMAP IDLE handling from before [53d9210aa4ee]. --- imap/imap.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/imap/imap.c b/imap/imap.c index fa778030b..8cf174c61 100644 --- a/imap/imap.c +++ b/imap/imap.c @@ -1297,11 +1297,6 @@ int imap_close_mailbox (CONTEXT* ctx) * and the mailbox is unchanged, so we may have to close here */ if (!ctx->deleted) imap_exec (idata, "CLOSE", IMAP_CMD_QUEUE); - if (idata->state == IMAP_IDLE) - { - mutt_buffer_addstr (idata->cmdbuf, "DONE\r\n"); - idata->state = IMAP_SELECTED; - } idata->state = IMAP_AUTHENTICATED; } -- 2.40.0