-# Copyright (C) 2013-2019 all contributors <meta@public-inbox.org>
+# Copyright (C) 2013-2020 all contributors <meta@public-inbox.org>
# License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
#
# Used for generating Atom feeds for web-accessible mailing list archives.
my $ibx = $ctx->{-inbox};
my $max = $ibx->{feedmax};
my $qp = $ctx->{qp};
- my $v = $ibx->{version} || 1;
+ my $v = $ibx->version;
if ($v > 2) {
die "BUG: unsupported inbox version: $v\n";
}