From: Eric Wong Date: Wed, 5 Oct 2016 23:47:16 +0000 (+0000) Subject: view: remove "subject dummy" references X-Git-Tag: v1.0.0~182 X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=08913d1b05e32a7415cbe8afc3c229d108817de8 view: remove "subject dummy" references We will not care for inexact threading by subject or pruning. --- 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);