diff options
-rw-r--r-- | camel/ChangeLog | 6 | ||||
-rw-r--r-- | camel/camel-filter-driver.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 47c12348fc..6f19e28d2d 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,9 @@ +2001-10-17 Jeffrey Stedfast <fejj@ximian.com> + + * camel-filter-driver.c (camel_filter_driver_filter_message): Set + the DELETED flag on directly on the info if the source folder + doesn't have summary capability. + 2001-10-17 Not Zed <NotZed@Ximian.com> * camel-tcp-stream-raw.c (stream_write): As below. diff --git a/camel/camel-filter-driver.c b/camel/camel-filter-driver.c index 8d8822b72d..5e58fc7bc8 100644 --- a/camel/camel-filter-driver.c +++ b/camel/camel-filter-driver.c @@ -935,7 +935,7 @@ camel_filter_driver_filter_message (CamelFilterDriver *driver, CamelMimeMessage /* *Now* we can set the DELETED flag... */ if (p->deleted) { - if (p->source && p->uid) + if (p->source && p->uid && camel_folder_has_summary_capability (p->source)) camel_folder_set_message_flags(p->source, p->uid, CAMEL_MESSAGE_DELETED|CAMEL_MESSAGE_SEEN, ~0); else info->flags |= CAMEL_MESSAGE_DELETED|CAMEL_MESSAGE_SEEN|CAMEL_MESSAGE_FOLDER_FLAGGED; |