From: Eric Wong Date: Mon, 5 May 2014 08:48:13 +0000 (+0000) Subject: learn: set_list_headers on training X-Git-Tag: v1.0.0~1155 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=f7b3ce0b37b5b5d1e6899258154fb2e6907ae2de;p=public-inbox.git learn: set_list_headers on training This is idempotent, and should actually/really prevent training loops. --- diff --git a/public-inbox-learn b/public-inbox-learn index bb130b21..13b75b76 100755 --- a/public-inbox-learn +++ b/public-inbox-learn @@ -56,6 +56,7 @@ foreach my $recipient (keys %dests) { # no checking for errors here, we assume the message has # been reviewed by a human at this point: PublicInbox::Filter->run($mime); + PublicInbox::MDA->set_list_headers($mime, $dst); my ($name, $email, $date) = PublicInbox::MDA->author_info($mime);