aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filter-driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'filter/filter-driver.c')
-rw-r--r--filter/filter-driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/filter-driver.c b/filter/filter-driver.c
index 48e95f9877..cf73bb050c 100644
--- a/filter/filter-driver.c
+++ b/filter/filter-driver.c
@@ -785,7 +785,7 @@ filter_driver_filter_message (FilterDriver *driver, CamelMimeMessage *message, C
g_string_free (fsearch, TRUE);
g_string_free (faction, TRUE);
- if (p->defaultfolder && !p->copied) {
+ if (p->defaultfolder && !p->copied && !p->deleted) {
/* copy it to the default inbox */
filtered = TRUE;
filter_driver_log (driver, FILTER_LOG_ACTION, "Copy to default folder");