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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index ba12baa140..4812f8c110 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -296,7 +296,7 @@ fetch_mail_fetch(struct _mail_msg *mm)
if (path && !camel_exception_is_set (&mm->ex)) {
camel_folder_freeze(fm->destination);
camel_filter_driver_set_default_folder(fm->driver, fm->destination);
- camel_filter_driver_filter_mbox(fm->driver, path, &mm->ex);
+ camel_filter_driver_filter_mbox(fm->driver, path, m->source_uri, &mm->ex);
camel_folder_thaw(fm->destination);
if (!camel_exception_is_set (&mm->ex))
@@ -549,7 +549,7 @@ mail_send_message(CamelMimeMessage *message, const char *destination, CamelFilte
if (driver)
camel_filter_driver_filter_message (driver, message, info,
- NULL, NULL, "", ex);
+ NULL, NULL, NULL, "", ex);
if (sent_folder_uri) {
folder = mail_tool_uri_to_folder (sent_folder_uri, NULL);