diff options
author | Eric Wong <e@80x24.org> | 2021-03-03 13:48:57 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-03-04 14:29:20 -0400 |
commit | fbc11e24a72f41b0ed7ead30d199288a4d674be4 (patch) | |
tree | 9ce1e0f18633319ccace53c250091eada77dda86 /lib/PublicInbox/LeiXSearch.pm | |
parent | 6fd748af8d4792d8cb857c3d2ec132ec3cca9bb8 (diff) | |
download | public-inbox-fbc11e24a72f41b0ed7ead30d199288a4d674be4.tar.gz |
This will eventually be supported for other mail stores, but Maildir is the easiest to test and support, here. This lets us avoid a situation where flag changes get lost between search results.
Diffstat (limited to 'lib/PublicInbox/LeiXSearch.pm')
-rw-r--r-- | lib/PublicInbox/LeiXSearch.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiXSearch.pm b/lib/PublicInbox/LeiXSearch.pm index dcc48806..45815180 100644 --- a/lib/PublicInbox/LeiXSearch.pm +++ b/lib/PublicInbox/LeiXSearch.pm @@ -204,7 +204,7 @@ sub query_mset { # non-parallel for non-"--threads" users sub each_remote_eml { # callback for MboxReader->mboxrd my ($eml, $self, $lei, $each_smsg) = @_; - $lei->{sto}->ipc_do('add_eml', $eml) if $lei->{sto}; # --import-remote + $lei->{sto}->ipc_do('add_eml', $eml) if $lei->{opt}->{'import-remote'}; my $smsg = bless {}, 'PublicInbox::Smsg'; $smsg->populate($eml); $smsg->parse_references($eml, mids($eml)); |