]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/View.pm
thread: remove Mail::Thread dependency
[public-inbox.git] / lib / PublicInbox / View.pm
index a3b26814f6897db2268124f29365abae495433de..9f1bf46005ad66c3332ae4e875b5e71cd96254da 100644 (file)
@@ -749,8 +749,8 @@ sub msg_timestamp {
 
 sub thread_results {
        my ($msgs) = @_;
-       require PublicInbox::Thread;
-       my $th = PublicInbox::Thread->new(@$msgs);
+       require PublicInbox::SearchThread;
+       my $th = PublicInbox::SearchThread->new($msgs);
        $th->thread;
        $th->order(*sort_ts);
        $th