From 0be2584d03e5b40a41d23e68d6ebaed94a1a53e0 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Thu, 22 Apr 2004 04:27:19 +0000 Subject: Send a flag list rather than \Deleted by itself. See #57381. 2004-04-22 Not Zed * providers/imap/camel-imap-folder.c (imap_expunge_uids_online) (imap_expunge_uids_resyncing): Send a flag list rather than \Deleted by itself. See #57381. svn path=/trunk/; revision=25574 --- camel/providers/imap/camel-imap-folder.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'camel/providers') diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c index e77d712529..38a4c38808 100644 --- a/camel/providers/imap/camel-imap-folder.c +++ b/camel/providers/imap/camel-imap-folder.c @@ -910,7 +910,7 @@ imap_expunge_uids_online (CamelFolder *folder, GPtrArray *uids, CamelException * while (uid < uids->len) { set = imap_uid_array_to_set (folder->summary, uids, uid, UID_SET_LIMIT, &uid); response = camel_imap_command (store, folder, ex, - "UID STORE %s +FLAGS.SILENT \\Deleted", + "UID STORE %s +FLAGS.SILENT (\\Deleted)", set); if (response) camel_imap_response_free (store, response); @@ -1024,7 +1024,7 @@ imap_expunge_uids_resyncing (CamelFolder *folder, GPtrArray *uids, CamelExceptio uidset = imap_uid_array_to_set (folder->summary, keep_uids, uid, UID_SET_LIMIT, &uid); response = camel_imap_command (store, folder, ex, - "UID STORE %s -FLAGS.SILENT \\Deleted", + "UID STORE %s -FLAGS.SILENT (\\Deleted)", uidset); g_free (uidset); @@ -1048,7 +1048,7 @@ imap_expunge_uids_resyncing (CamelFolder *folder, GPtrArray *uids, CamelExceptio uidset = imap_uid_array_to_set (folder->summary, mark_uids, uid, UID_SET_LIMIT, &uid); response = camel_imap_command (store, folder, ex, - "UID STORE %s +FLAGS.SILENT \\Deleted", + "UID STORE %s +FLAGS.SILENT (\\Deleted)", uidset); g_free (uidset); @@ -1082,7 +1082,7 @@ imap_expunge_uids_resyncing (CamelFolder *folder, GPtrArray *uids, CamelExceptio /* Don't pass ex if it's already been set */ response = camel_imap_command (store, folder, camel_exception_is_set (ex) ? NULL : ex, - "UID STORE %s +FLAGS.SILENT \\Deleted", + "UID STORE %s +FLAGS.SILENT (\\Deleted)", uidset); g_free (uidset); -- cgit v1.2.3