diff options
author | Eric Wong <e@80x24.org> | 2022-04-05 08:18:24 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2022-04-05 21:58:31 +0000 |
commit | 961690bae47c90a4a6960952587c6f4463fb4b19 (patch) | |
tree | a682dbe8735f0e33fada028c8d5969b32257a63c /lib/PublicInbox/NetReader.pm | |
parent | 5fb44bf4ffa9f2d4e82ca60859c99e32664ccc53 (diff) | |
download | public-inbox-961690bae47c90a4a6960952587c6f4463fb4b19.tar.gz |
This will make transparently upgrading from 1.7.0 -> 1.8.x easier. Only a single user has access to mail_sync.sqlite3, and R/W at the kernel-level is required for WAL, anyways.
Diffstat (limited to 'lib/PublicInbox/NetReader.pm')
-rw-r--r-- | lib/PublicInbox/NetReader.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/NetReader.pm b/lib/PublicInbox/NetReader.pm index 032b4fda..c1af03a3 100644 --- a/lib/PublicInbox/NetReader.pm +++ b/lib/PublicInbox/NetReader.pm @@ -1,4 +1,4 @@ -# Copyright (C) 2021 all contributors <meta@public-inbox.org> +# Copyright (C) all contributors <meta@public-inbox.org> # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt> # common reader code for IMAP and NNTP (and maybe JMAP) @@ -481,7 +481,7 @@ sub itrk_last ($$;$$) { my ($self, $uri, $r_uidval, $mic) = @_; return (undef, undef, $r_uidval) unless $self->{incremental}; my ($itrk, $l_uid, $l_uidval); - if (defined(my $lms = $self->{-lms_ro})) { # LeiMailSync or 0 + if (defined(my $lms = $self->{-lms_rw})) { # LeiMailSync or 0 $uri->uidvalidity($r_uidval) if defined $r_uidval; if ($mic) { my $auth = $mic->Authmechanism // ''; |