diff options
author | Eric Wong <e@80x24.org> | 2021-03-04 17:03:16 +0800 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-03-04 14:29:43 -0400 |
commit | f4b80f19d30845d43c82e49fc071077582b17a74 (patch) | |
tree | e8592d7f1f7565d278bced382360dec64a571530 /lib/PublicInbox/LeiQuery.pm | |
parent | be5975337332d8ac681f4c2101e2ca436550c90b (diff) | |
download | public-inbox-f4b80f19d30845d43c82e49fc071077582b17a74.tar.gz |
Since this importing of keywords is active even when --augment isn't specified, calling it --import-before seems more appropriate. In the future, this will likely default to adding unseen emails to lei/store, not just updating keywords. Link: https://public-inbox.org/meta/20210303222930.GA18597@dcvr/T/
Diffstat (limited to 'lib/PublicInbox/LeiQuery.pm')
-rw-r--r-- | lib/PublicInbox/LeiQuery.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiQuery.pm b/lib/PublicInbox/LeiQuery.pm index c630d628..493a8382 100644 --- a/lib/PublicInbox/LeiQuery.pm +++ b/lib/PublicInbox/LeiQuery.pm @@ -52,7 +52,7 @@ sub lei_q { my $sto = $self->_lei_store(1); my $lse = $sto->search; if (($opt->{'import-remote'} //= 1) | - ($opt->{'import-augment'} //= 1)) { + ($opt->{'import-before'} //= 1)) { $sto->write_prepare($self); } if ($opt->{'local'} //= scalar(@only) ? 0 : 1) { |