lib/PublicInbox/View.pm | 4 ++-- diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index fa96cca337d87f9113425a209c5b78aafa2b6dfa..26094082996678975a5830876f00c0de431d9b91 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -1,4 +1,4 @@ -# Copyright (C) 2014-2021 all contributors +# Copyright (C) all contributors # License: AGPL-3.0+ # # Used for displaying the HTML web interface. @@ -429,7 +429,7 @@ } sub stream_thread ($$) { my ($rootset, $ctx) = @_; - $ctx->{-queue} = [ map { (0, $_) } @$rootset ]; + @{$ctx->{-queue}} = map { (0, $_) } @$rootset; PublicInbox::WwwStream::aresponse($ctx, 200, \&stream_thread_i); }