From 99bcf0f642ac6ba5eb57daea2324c6f601b82f12 Mon Sep 17 00:00:00 2001 From: Brendan Cully Date: Sun, 27 Feb 2005 03:18:23 +0000 Subject: [PATCH] Turn brain back on before committing patches (that modification I made to APPEND was bogus). --- imap/message.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imap/message.c b/imap/message.c index f20e16cae..acab54596 100644 --- a/imap/message.c +++ b/imap/message.c @@ -558,9 +558,9 @@ int imap_append_message (CONTEXT *ctx, MESSAGE *msg) imap_munge_mbox_name (mbox, sizeof (mbox), mailbox); snprintf (buf, sizeof (buf), "APPEND %s (%s%s%s%s%s) {%lu}", mbox, msg->flags.read ? "\\Seen" : "", - msg->flags.read ? " " : "", + msg->flags.read && (msg->flags.replied || msg->flags.flagged) ? " " : "", msg->flags.replied ? "\\Answered" : "", - msg->flags.replied ? " " : "", + msg->flags.replied && msg->flags.flagged ? " " : "", msg->flags.flagged ? "\\Flagged" : "", (unsigned long) len); -- 2.40.0