about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--lib/PublicInbox/View.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm
index 534b5539..48c45536 100644
--- a/lib/PublicInbox/View.pm
+++ b/lib/PublicInbox/View.pm
@@ -825,7 +825,7 @@ sub add_topic {
 
                 my $ts = $x->header('X-PI-TS');
                 my $exist = $state->{latest}->{$topic};
-                if (!$exist || $exist->[2] < $ts) {
+                if (!$exist || $exist->[1] < $ts) {
                         $state->{latest}->{$topic} = [ $mid, $ts ];
                 }
         } else {