From f7b3ce0b37b5b5d1e6899258154fb2e6907ae2de Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 5 May 2014 08:48:13 +0000 Subject: learn: set_list_headers on training This is idempotent, and should actually/really prevent training loops. --- public-inbox-learn | 1 + 1 file changed, 1 insertion(+) (limited to 'public-inbox-learn') 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); -- cgit v1.2.3-24-ge0c7