about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-04-06 06:55:39 +0000
committerEric Wong <e@80x24.org>2016-04-06 06:55:47 +0000
commit7905c86d857a69d821a9d1cdad0344fe4e4a70e9 (patch)
tree042f65ff3141658805203efd424fbdd19d2a3d75 /lib
parent12232b34a53165cb07cf94aa00fde8a59bbacd0e (diff)
downloadpublic-inbox-7905c86d857a69d821a9d1cdad0344fe4e4a70e9.tar.gz
These were the vestigial remains of our previous use of
of Message-ID compression.
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/View.pm7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm
index f074a244..2cf7e4f0 100644
--- a/lib/PublicInbox/View.pm
+++ b/lib/PublicInbox/View.pm
@@ -464,8 +464,6 @@ sub thread_inline {
                 seen => { $subj => 1 },
                 srch => $srch,
                 cur => $mid,
-                parent_cmp => defined $parent ? $parent : '',
-                parent => $parent,
                 prev_attr => '',
                 prev_level => 0,
         };
@@ -474,7 +472,7 @@ sub thread_inline {
         }
         $$dst .= "<a\nid=b></a>"; # anchor for body start
         $ctx->{next_msg} = $state->{next_msg};
-        $ctx->{parent_msg} = $state->{parent};
+        $ctx->{parent_msg} = $parent;
 }
 
 sub _parent_headers_nosrch {
@@ -811,9 +809,6 @@ sub inline_dump {
         if (my $mime = $node->message) {
                 my $hdr = $mime->header_obj;
                 my $mid = mid_clean($hdr->header_raw('Message-ID'));
-                if ($mid eq $state->{parent_cmp}) {
-                        $state->{parent} = $mid;
-                }
                 _inline_header($dst, $state, $upfx, $hdr, $level);
         } else {
                 my $dot = $level == 0 ? '' : '` ';