Added an argument, so that the original source URI of the mbox can be
authorJon Trowbridge <trow@ximian.com>
Fri, 8 Jun 2001 00:12:52 +0000 (00:12 +0000)
committerJon Trowbridge <trow@src.gnome.org>
Fri, 8 Jun 2001 00:12:52 +0000 (00:12 +0000)
commit86ae45ecfdbf12011c8dd0eeab9a3877e19cf06a
treeb26ef6c79d7d95b3e11b3447c8608736056767bb
parent13cd02fe0678e70bb193a70169870ef9c1289df8
Added an argument, so that the original source URI of the mbox can be

2001-06-07  Jon Trowbridge  <trow@ximian.com>

        * camel-filter-driver.c (camel_filter_driver_filter_mbox): Added
        an argument, so that the original source URI of the mbox can be
        passed in.  This is needed because this function is called
        post-movemail, so we are never reading from the original mbox
        anymore.  Without the original mbox URI, the X-Evolution-Source
        tag gets set incorrectly and filter-on-source will fail to work.
        (camel_filter_driver_filter_message): Also take an extra arg
        for the original source URI.  It is the original URI, not the
        source URI, that is used for filtering and for setting the
        X-Evolution-Source tag.

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.
camel/ChangeLog
camel/camel-filter-driver.c
camel/camel-filter-driver.h