From 06e72c658de3ce1252594b151313df90acf73271 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 11 Jun 2008 14:37:49 +0300 Subject: [PATCH] QRESYNC: Always send UID in FETCH sync replies. --HG-- branch : HEAD --- src/imap/imap-sync.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/imap/imap-sync.c b/src/imap/imap-sync.c index a6c9f36368..2b07b858b8 100644 --- a/src/imap/imap-sync.c +++ b/src/imap/imap-sync.c @@ -144,8 +144,11 @@ imap_sync_init(struct client *client, struct mailbox *box, 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. -- 2.47.3