diff options
author | Eric Wong (Contractor, The Linux Foundation) <e@80x24.org> | 2018-03-29 09:57:44 +0000 |
---|---|---|
committer | Eric Wong (Contractor, The Linux Foundation) <e@80x24.org> | 2018-03-29 09:59:50 +0000 |
commit | 6efc0df8d3e00da0257b131e96f74d18fce290ab (patch) | |
tree | 287182a9d4f8b47375cac2351da650703ea040b4 /lib/PublicInbox/Mbox.pm | |
parent | 7b5ea579e6a9490a4a38958acac8e078d805eec7 (diff) | |
download | public-inbox-6efc0df8d3e00da0257b131e96f74d18fce290ab.tar.gz |
We do not need to care about ghosts at multiple call sites; they cannot have a {blob} field and we've stored the blob field in Xapian since SCHEMA_VERSION=13.
Diffstat (limited to 'lib/PublicInbox/Mbox.pm')
-rw-r--r-- | lib/PublicInbox/Mbox.pm | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/PublicInbox/Mbox.pm b/lib/PublicInbox/Mbox.pm index c14037f4..381bcada 100644 --- a/lib/PublicInbox/Mbox.pm +++ b/lib/PublicInbox/Mbox.pm @@ -41,7 +41,6 @@ sub getline { } for (; !defined($cur) && $head != $tail; $head++) { my $smsg = PublicInbox::SearchMsg->get($head, $db, $ctx->{mid}); - next if $smsg->type ne 'mail'; my $mref = $ctx->{-inbox}->msg_by_smsg($smsg) or next; $cur = Email::Simple->new($mref); $cur = msg_str($ctx, $cur); @@ -66,7 +65,6 @@ sub emit_raw { for (; !defined($first) && $head != $tail; $head++) { my @args = ($head, $db, $mid); my $smsg = PublicInbox::SearchMsg->get(@args); - next if $smsg->type ne 'mail'; my $mref = $ibx->msg_by_smsg($smsg) or next; $first = Email::Simple->new($mref); } |