/* get root delimiter, '/' as default */
idata->delim = '/';
imap_exec(idata, "LIST \"\" \"\"", IMAP_CMD_QUEUE);
- if (ImapCheckSubscribed)
- imap_exec(idata, "LSUB \"\" \"*\"", IMAP_CMD_QUEUE);
/* we may need the root delimiter before we open a mailbox */
imap_exec(idata, NULL, IMAP_CMD_FAIL_OK);
}
}
FREE(&pmx.mbox);
+ if (ImapCheckSubscribed)
+ imap_exec(idata, "LSUB \"\" \"*\"", IMAP_CMD_QUEUE);
snprintf(bufout, sizeof(bufout), "%s %s", ctx->readonly ? "EXAMINE" : "SELECT", buf);
idata->state = IMAP_SELECTED;
/*
** .pp
** When \fIset\fP, NeoMutt will fetch the set of subscribed folders from
- ** your server on connection, and add them to the set of mailboxes
- ** it polls for new mail just as if you had issued individual ``$mailboxes''
- ** commands.
+ ** your server whenever a mailbox is \fBselected\fP, and add them to the set
+ ** of mailboxes it polls for new mail just as if you had issued individual
+ ** ``$mailboxes'' commands.
*/
{ "imap_delim_chars", DT_STRING, R_NONE, &ImapDelimChars, IP "/." },
/*