dovecot-2.2: lib-storage: Don't lose INBOX's \Subscribed flag wh...
dovecot at dovecot.org
dovecot at dovecot.org
Wed May 15 16:10:59 EEST 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/0d4d5f7f93df
changeset: 16364:0d4d5f7f93df
user: Timo Sirainen <tss at iki.fi>
date: Wed May 15 16:10:48 2013 +0300
description:
lib-storage: Don't lose INBOX's \Subscribed flag when returning it is delayed.
diffstat:
src/lib-storage/list/mailbox-list-iter.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 21ab416ea0cd -r 0d4d5f7f93df src/lib-storage/list/mailbox-list-iter.c
--- a/src/lib-storage/list/mailbox-list-iter.c Wed May 15 15:35:10 2013 +0300
+++ b/src/lib-storage/list/mailbox-list-iter.c Wed May 15 16:10:48 2013 +0300
@@ -597,9 +597,12 @@
if (info != NULL) {
if (strcasecmp(info->vname, "INBOX") == 0 && ctx->inbox_list) {
/* delay sending INBOX reply. we already saved its
- flags at init stage, except for \Noinferiors */
+ flags at init stage, except for \Noinferiors
+ and subscription states */
ctx->inbox_info.flags |=
- (info->flags & MAILBOX_NOINFERIORS);
+ (info->flags & (MAILBOX_NOINFERIORS |
+ MAILBOX_SUBSCRIBED |
+ MAILBOX_CHILD_SUBSCRIBED));
return FALSE;
}
if (strncasecmp(info->vname, "INBOX", 5) == 0 &&
More information about the dovecot-cvs
mailing list