From baae46ba22d283706dd821bea19aa9d985d0081d Mon Sep 17 00:00:00 2001 From: "Eric Wong (Contractor, The Linux Foundation)" Date: Tue, 20 Mar 2018 19:50:03 +0000 Subject: import: discard all the same headers as MDA Reduce the places where we have duplicate logic for discarding unwanted headers. --- lib/PublicInbox/MDA.pm | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/PublicInbox/MDA.pm') diff --git a/lib/PublicInbox/MDA.pm b/lib/PublicInbox/MDA.pm index d5af8f94..637404eb 100644 --- a/lib/PublicInbox/MDA.pm +++ b/lib/PublicInbox/MDA.pm @@ -81,8 +81,6 @@ sub set_list_headers { $pa =~ tr/@/./; # RFC2919 $simple->header_set("List-Id", "<$pa>"); } - - $simple->header_set($_) foreach @BAD_HEADERS; } 1; -- cgit v1.2.3-24-ge0c7