Mercurial > dovecot > original-hg > dovecot-1.2
changeset 7814:1ae3d4a5057b HEAD
QRESYNC: Always send UID in FETCH sync replies.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 11 Jun 2008 14:37:49 +0300 |
parents | f8a0e11566c8 |
children | 2d62129a709b |
files | src/imap/imap-sync.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 @@ 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.