dovecot-1.2: QRESYNC: Always send UID in FETCH sync replies.

dovecot at dovecot.org dovecot at dovecot.org
Wed Jun 11 14:40:26 EEST 2008


details:   http://hg.dovecot.org/dovecot-1.2/rev/1ae3d4a5057b
changeset: 7814:1ae3d4a5057b
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Jun 11 14:37:49 2008 +0300
description:
QRESYNC: Always send UID in FETCH sync replies.

diffstat:

1 file changed, 4 insertions(+), 1 deletion(-)
src/imap/imap-sync.c |    5 ++++-

diffs (16 lines):

diff -r f8a0e11566c8 -r 1ae3d4a5057b src/imap/imap-sync.c
--- a/src/imap/imap-sync.c	Wed Jun 11 14:36:44 2008 +0300
+++ b/src/imap/imap-sync.c	Wed Jun 11 14:37:49 2008 +0300
@@ -144,8 +144,11 @@ imap_sync_init(struct client *client, st
 	ctx->messages_count = client->messages_count;
 	i_array_init(&ctx->tmp_keywords, client->keywords.announce_count + 8);
 
-	if ((client->enabled_features & MAILBOX_FEATURE_QRESYNC) != 0)
+	if ((client->enabled_features & MAILBOX_FEATURE_QRESYNC) != 0) {
 		i_array_init(&ctx->expunges, 128);
+		/* always send UIDs in FETCH replies */
+		ctx->imap_flags |= IMAP_SYNC_FLAG_SEND_UID;
+	}
 
 	client_send_mailbox_flags(client, FALSE);
 	/* send search updates the first time after sync is initialized.


More information about the dovecot-cvs mailing list