Fix bug in handling of flags to APPEND command.
authorChris Hanson <org/chris-hanson/cph>
Mon, 22 May 2000 15:08:12 +0000 (15:08 +0000)
committerChris Hanson <org/chris-hanson/cph>
Mon, 22 May 2000 15:08:12 +0000 (15:08 +0000)
v7/src/imail/imail-imap.scm

index da6572d7a5fa67d0496aba587413b134a4f44eaf..9be79fd4963dded2416ad5b65622f605fb5d0319 100644 (file)
@@ -1,6 +1,6 @@
 ;;; -*-Scheme-*-
 ;;;
-;;; $Id: imail-imap.scm,v 1.69 2000/05/22 13:52:07 cph Exp $
+;;; $Id: imail-imap.scm,v 1.70 2000/05/22 15:08:12 cph Exp $
 ;;;
 ;;; Copyright (c) 1999-2000 Massachusetts Institute of Technology
 ;;;
              (lambda ()
                (imap:command:append connection
                                     (imap-url-mailbox url)
-                                    (message-flags message)
+                                    (map imail-flag->imap-flag
+                                         (flags-delete
+                                          "\\recent"
+                                          (message-flags message)))
                                     (message-internal-time message)
                                     (message->string message)))))))))