about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-02-08 18:11:54 +0000
committerEric Wong <e@80x24.org>2016-02-08 18:13:02 +0000
commit4ff467429242ec7e18158de7ed203f13761e9dcf (patch)
treeadf2194f46b7eb152adca1508bd5aac156b2edb5
parentfe9c93dbd71f903194c2fd3c22ccd57e31042013 (diff)
downloadpublic-inbox-4ff467429242ec7e18158de7ed203f13761e9dcf.tar.gz
In an single-message thread with a ghost parent, we need to
go up level from the current Message-ID before appending the
parent message to us.
-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 fc877b7c..8af51adf 100644
--- a/lib/PublicInbox/View.pm
+++ b/lib/PublicInbox/View.pm
@@ -471,7 +471,7 @@ sub thread_inline {
         if ($nr <= 1) {
                 if (defined $parent) {
                         $$dst .= "($expand)\n ";
-                        $$dst .= ghost_parent($upfx, $parent) . "\n";
+                        $$dst .= ghost_parent("$upfx../", $parent) . "\n";
                 } else {
                         $$dst .= "[no followups, yet] ($expand)\n";
                 }