From 08913d1b05e32a7415cbe8afc3c229d108817de8 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 5 Oct 2016 23:47:16 +0000 Subject: view: remove "subject dummy" references We will not care for inexact threading by subject or pruning. --- lib/PublicInbox/View.pm | 8 -------- 1 file changed, 8 deletions(-) (limited to 'lib') diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index 93592097..a3b26814 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -723,8 +723,6 @@ sub anchor_for { sub ghost_parent { my ($upfx, $mid) = @_; - # 'subject dummy' is used internally by Mail::Thread - return '[no common parent]' if ($mid eq 'subject dummy'); $mid = PublicInbox::Hval->new_msgid($mid); my $href = $mid->{href}; @@ -838,12 +836,6 @@ sub skel_dump { my $dst = $ctx->{dst}; my $mapping = $ctx->{mapping}; my $map = $mapping->{$mid} if $mapping; - if ($mid eq 'subject dummy') { - my $ncp = "\t[no common parent]\n"; - $map->[1] = $ncp if $map; - $$dst .= $ncp; - return; - } my $d = $ctx->{pct} ? ' [irrelevant] ' # search result : ' [not found] '; $d .= indent_for($level) . th_pfx($level); -- cgit v1.2.3-24-ge0c7