about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-02-01 01:35:24 +0000
committerEric Wong <e@80x24.org>2016-02-01 01:37:15 +0000
commit62572831b8f55d67f7db7d4de7a9654166765f7f (patch)
tree5838287efe28efc9b14f19d175a2eefee3c012ec
parentd1d3a440791053cdaae09069dc6e11a8fe28103d (diff)
downloadpublic-inbox-62572831b8f55d67f7db7d4de7a9654166765f7f.tar.gz
We should not hide the parent Message-ID in this view;
give the user the option to find the message in other archives.
-rw-r--r--lib/PublicInbox/View.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm
index 88ab2d2f..70b92a7c 100644
--- a/lib/PublicInbox/View.pm
+++ b/lib/PublicInbox/View.pm
@@ -469,7 +469,12 @@ sub thread_inline {
         $$dst .= 'Thread: ';
         my $parent = in_reply_to($cur);
         if ($nr <= 1) {
-                $$dst .= "[no followups, yet] ($expand)\n";
+                if (defined $parent) {
+                        $$dst .= "($expand)\n ";
+                        $$dst .= ghost_parent($upfx, $parent) . "\n";
+                } else {
+                        $$dst .= "[no followups, yet] ($expand)\n";
+                }
                 $ctx->{next_msg} = undef;
                 $ctx->{parent_msg} = $parent;
                 return;