]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
imap: If IMAP4rev2 is enabled by the client also enable QRESYNC
authorMarkus Valentin <markus.valentin@open-xchange.com>
Tue, 6 May 2025 11:28:35 +0000 (13:28 +0200)
committerMarkus Valentin <markus.valentin@open-xchange.com>
Wed, 14 May 2025 05:43:14 +0000 (07:43 +0200)
src/imap/imap-client.c

index 1698130aeedb42ebe5f5668be10222805c71e759..bb20ea4e25194bc7ec93c363b57b0e32fb71640d 100644 (file)
@@ -1651,6 +1651,9 @@ static bool imap_client_enable_imap4rev2(struct client *client)
 
        if (client->mailbox != NULL)
                mailbox_enable(client->mailbox, MAILBOX_FEATURE_IMAP4REV2);
+
+       /* If IMAP4rev2 is enabled always enable QRESYNC */
+       client_enable(client, imap_feature_qresync);
        return TRUE;
 }
 #endif