]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
imapc: Removed HIGHESTMODSEQ handling from STATUS command.
authorTimo Sirainen <tss@iki.fi>
Mon, 12 Dec 2011 06:43:04 +0000 (08:43 +0200)
committerTimo Sirainen <tss@iki.fi>
Mon, 12 Dec 2011 06:43:04 +0000 (08:43 +0200)
We don't currently even attempt to handle remote modseqs, so HIGHESTMODSEQ
shouldn't be used either.

src/lib-storage/index/imapc/imapc-storage.c

index 92b22d9957974067e9578ae2b0eee2e0f942839d..c5f457f48b44d19a6045d67e2672111722c318bb 100644 (file)
@@ -565,8 +565,6 @@ static void imapc_untagged_status(const struct imapc_untagged_reply *reply,
                        status->uidvalidity = num;
                else if (strcasecmp(key, "UNSEEN") == 0)
                        status->unseen = num;
-               else if (strcasecmp(key, "HIGHESTMODSEQ") == 0)
-                       status->highest_modseq = num;
        }
 }
 
@@ -616,8 +614,6 @@ static int imapc_mailbox_get_status(struct mailbox *box,
                str_append(str, " UIDVALIDITY");
        if ((items & STATUS_UNSEEN) != 0)
                str_append(str, " UNSEEN");
-       if ((items & STATUS_HIGHESTMODSEQ) != 0)
-               str_append(str, " HIGHESTMODSEQ");
 
        if (str_len(str) == 0) {
                /* nothing requested */