modseq = mail_get_modseq(mail);
if (ctx->client->highest_fetch_modseq < modseq)
ctx->client->highest_fetch_modseq = modseq;
- str_printfa(ctx->cur_str, "MODSEQ %llu ",
+ str_printfa(ctx->cur_str, "MODSEQ (%llu) ",
(unsigned long long)modseq);
return 1;
}
modseq = mail_get_modseq(ctx->mail);
if (ctx->client->highest_fetch_modseq < modseq)
ctx->client->highest_fetch_modseq = modseq;
- str_printfa(str, "MODSEQ %llu", (unsigned long long)modseq);
+ str_printfa(str, "MODSEQ (%llu)", (unsigned long long)modseq);
}
static int imap_sync_send_flags(struct imap_sync_context *ctx, string_t *str)