about summary refs log tree commit homepage
path: root/lib/PublicInbox/WWW.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-06-12 04:46:38 +0000
committerEric Wong <e@80x24.org>2016-06-13 21:43:02 +0000
commit31afda256c813443062e0504213d41732e50ee45 (patch)
treeebc5eae99de8fd19fcd051f4b18fea4dbfb1c2a9 /lib/PublicInbox/WWW.pm
parent9dc61f9132a7c4ac4a4d067cdd48efb7c28de102 (diff)
downloadpublic-inbox-31afda256c813443062e0504213d41732e50ee45.tar.gz
We need to ensure we show the message body ASAP since
the thread generation via Xapian could take a while
and maybe even raise an exception or crash.
Diffstat (limited to 'lib/PublicInbox/WWW.pm')
-rw-r--r--lib/PublicInbox/WWW.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/WWW.pm b/lib/PublicInbox/WWW.pm
index 5fa4e380..c25deff3 100644
--- a/lib/PublicInbox/WWW.pm
+++ b/lib/PublicInbox/WWW.pm
@@ -228,7 +228,7 @@ sub get_mid_html {
         my $mime = Email::MIME->new($x);
         searcher($ctx);
         [ 200, [ 'Content-Type' => 'text/html; charset=UTF-8' ],
-          [ PublicInbox::View::msg_html($ctx, $mime, $foot) ] ];
+          PublicInbox::View::msg_html($ctx, $mime, $foot) ];
 }
 
 # /$INBOX/$MESSAGE_ID/t/