From: Brendan Cully Date: Sun, 26 Jun 2011 03:05:37 +0000 (-0700) Subject: Do not subscribe to \noselect mailboxes. Closes #3445 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a1fab760931ff3756a88cd3c7accebd21a1d4087;p=neomutt Do not subscribe to \noselect mailboxes. Closes #3445 --- diff --git a/imap/command.c b/imap/command.c index 3330d989c..6d4eda039 100644 --- a/imap/command.c +++ b/imap/command.c @@ -762,7 +762,8 @@ static void cmd_parse_lsub (IMAP_DATA* idata, char* s) idata->cmddata = &list; cmd_parse_list (idata, s); idata->cmddata = NULL; - if (!list.name) + /* noselect is for a gmail quirk (#3445) */ + if (!list.name || list.noselect) return; dprint (3, (debugfile, "Subscribing to %s\n", list.name));