From a1fab760931ff3756a88cd3c7accebd21a1d4087 Mon Sep 17 00:00:00 2001 From: Brendan Cully Date: Sat, 25 Jun 2011 20:05:37 -0700 Subject: [PATCH] Do not subscribe to \noselect mailboxes. Closes #3445 --- imap/command.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)); -- 2.40.0