aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r--mail/mail-ops.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index b334614c8e..891bbacf1f 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -432,6 +432,9 @@ do_filter_ondemand (gpointer in_data, gpointer op_data, CamelException *ex)
if (logfile)
fclose (logfile);
+ /* sync the source folder */
+ camel_folder_sync (input->source, FALSE, ex);
+
gtk_object_unref (GTK_OBJECT (driver));
mail_tool_camel_lock_down ();
}