about summary refs log tree commit homepage
path: root/lib/PublicInbox/View.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-03-03 07:35:34 +0000
committerEric Wong <e@80x24.org>2016-03-03 07:35:34 +0000
commite6b8bee29611b86b5672b8b48ecf7fcd86ea41fd (patch)
treed28c17906f041c8e4420c74311ec336743807f84 /lib/PublicInbox/View.pm
parent3cda6050b7c8f73e7fd86f88efc5cd42d0c13f73 (diff)
downloadpublic-inbox-e6b8bee29611b86b5672b8b48ecf7fcd86ea41fd.tar.gz
Ugh, this enabled-iff-xapian-is-available code really
needs better testing...
Diffstat (limited to 'lib/PublicInbox/View.pm')
-rw-r--r--lib/PublicInbox/View.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm
index 867ed6fa..3522bf44 100644
--- a/lib/PublicInbox/View.pm
+++ b/lib/PublicInbox/View.pm
@@ -833,7 +833,7 @@ sub inline_dump {
         return unless $node;
         if (my $mime = $node->message) {
                 my $hdr = $mime->header_obj;
-                my $mid = mid_clean($hdr->header_obj('Message-ID'));
+                my $mid = mid_clean($hdr->header_raw('Message-ID'));
                 if ($mid eq $state->{parent_cmp}) {
                         $state->{parent} = $mid;
                 }