about summary refs log tree commit homepage
path: root/lib/PublicInbox/View.pm
diff options
context:
space:
mode:
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2018-03-29 09:57:44 +0000
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2018-03-29 09:59:50 +0000
commit6efc0df8d3e00da0257b131e96f74d18fce290ab (patch)
tree287182a9d4f8b47375cac2351da650703ea040b4 /lib/PublicInbox/View.pm
parent7b5ea579e6a9490a4a38958acac8e078d805eec7 (diff)
downloadpublic-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/View.pm')
-rw-r--r--lib/PublicInbox/View.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm
index 5fb2b31c..133c30a8 100644
--- a/lib/PublicInbox/View.pm
+++ b/lib/PublicInbox/View.pm
@@ -63,7 +63,6 @@ sub msg_page {
                         for (; !defined($first) && $head != $tail; $head++) {
                                 my @args = ($head, $db, $mid);
                                 my $smsg = PublicInbox::SearchMsg->get(@args);
-                                next if $smsg->type ne 'mail';
                                 $first = $ibx->msg_by_smsg($smsg);
                         }
                         if ($head != $tail) {
@@ -85,7 +84,6 @@ sub msg_html_more {
                 my $mid = $ctx->{mid};
                 for (; !defined($smsg) && $head != $tail; $head++) {
                         my $m = PublicInbox::SearchMsg->get($head, $db, $mid);
-                        next if $m->type ne 'mail';
                         $smsg = $ctx->{-inbox}->smsg_mime($m);
                 }
                 if ($head == $tail) { # done