diff options
author | Eric Wong <e@80x24.org> | 2021-10-02 11:18:33 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-10-02 20:09:31 +0000 |
commit | 64f6a4c97b05a709de60aea9c3a5f51d7a37f226 (patch) | |
tree | b0be5f5383b06540f2f48a98db9c8ab4931423c3 /lib/PublicInbox/LeiInput.pm | |
parent | 3e096b699243ea7bd9d12fec8f3048104e462802 (diff) | |
download | public-inbox-64f6a4c97b05a709de60aea9c3a5f51d7a37f226.tar.gz |
This is useful in finding the cause of deduplication bugs, and possibly the cause of missing threads reported by Konstantin in <20211001130527.z7eivotlgqbgetzz@meerkat.local> usage: u=https://yhbt.net/lore/all/87czop5j33.fsf@tynnyri.adurom.net/raw lei mail-diff $u
Diffstat (limited to 'lib/PublicInbox/LeiInput.pm')
-rw-r--r-- | lib/PublicInbox/LeiInput.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/PublicInbox/LeiInput.pm b/lib/PublicInbox/LeiInput.pm index 22bedba6..83479221 100644 --- a/lib/PublicInbox/LeiInput.pm +++ b/lib/PublicInbox/LeiInput.pm @@ -57,6 +57,12 @@ sub check_input_format ($;$) { 1; } +sub input_mbox_cb { # base MboxReader callback + my ($eml, $self) = @_; + $eml->header_set($_) for (qw(Status X-Status)); + $self->input_eml_cb($eml); +} + # import a single file handle of $name # Subclass must define ->input_eml_cb and ->input_mbox_cb sub input_fh { |