about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2014-04-21 09:53:53 +0000
committerEric Wong <e@80x24.org>2014-04-21 09:53:53 +0000
commit87fe634f0fbd6795d2e0f4daf17f13af456212a0 (patch)
tree357d3cca056a1faf836b38f314c11d7c04c0b0a4 /lib
parentf93b46bea8cd2811d911f256447f9332b7fc6bfa (diff)
downloadpublic-inbox-87fe634f0fbd6795d2e0f4daf17f13af456212a0.tar.gz
Screen real-estate is valuable, and missing roots tend to
be false-positive matches (using Subject, not In-Reply-To
or References).
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/Feed.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/PublicInbox/Feed.pm b/lib/PublicInbox/Feed.pm
index 54feaf5b..6658a52b 100644
--- a/lib/PublicInbox/Feed.pm
+++ b/lib/PublicInbox/Feed.pm
@@ -287,8 +287,8 @@ sub add_to_feed {
 
 sub dump_html_line {
         my ($self, $level, $args) = @_; # args => [ $html, $midurl ]
-        $args->[0] .= (' ' x $level);
         if ($self->message) {
+                $args->[0] .= (' ' x $level);
                 my $simple = $self->message;
                 my $subj = utf8_header($simple, "Subject");
                 my $mid = utf8_header($simple, "Message-ID");
@@ -302,8 +302,6 @@ sub dump_html_line {
                 $from = xs_html($from);
                 $subj = xs_html($subj);
                 $args->[0] .= "<a href=\"$url.html\">$subj</a> $from\n";
-        } else {
-                $args->[0] .= "[ Message not available ]\n";
         }
         dump_html_line($self->child, $level+1, $args) if $self->child;
         dump_html_line($self->next, $level, $args) if $self->next;