]> git.ipfire.org Git - thirdparty/public-inbox.git/commitdiff
view: always show strict|loose note w/ multi-roots
authorEric Wong <e@80x24.org>
Mon, 1 Jan 2024 01:07:49 +0000 (01:07 +0000)
committerEric Wong <e@80x24.org>
Tue, 2 Jan 2024 18:39:40 +0000 (18:39 +0000)
For thread skeletons with multiple roots, it makes sense to
note the strict|loose delineation even when the first message
matches the desired Message-ID.

lib/PublicInbox/View.pm

index d81c66b7e3389791cf01652f2a4f63eba2afee95..02b93d7bf0415ef91e58e14905e9724bee1276c3 100644 (file)
@@ -885,8 +885,8 @@ sub thread_results {
                        my $tip = splice(@$rootset, $idx, 1);
                        @$rootset = reverse @$rootset;
                        unshift @$rootset, $tip;
-                       $ctx->{sl_note} = strict_loose_note($nr);
                }
+               $ctx->{sl_note} = strict_loose_note($nr);
        }
        $rootset
 }