aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/mail-ops.c4
2 files changed, 9 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 5cf9910a36..e12cca3bfd 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,10 @@
+2001-06-07 Jon Trowbridge <trow@ximian.com>
+
+ * mail-ops.c (fetch_mail_fetch): Pass the original source URI
+ to camel_filter_driver_filter_mbox.
+ (mail_send_message): Pass NULL as the orginal source URI
+ to camel_filter_driver_filter_message.
+
2001-06-06 Jon Trowbridge <trow@ximian.com>
* mail-account-gui.c (source_type_changed): Check that the chain
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);