about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiNoteEvent.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-08-19 09:49:34 +0000
committerEric Wong <e@80x24.org>2021-08-21 20:52:46 +0000
commit6b8a044462073a15f7746c597f4fd2d4bddf5e7a (patch)
tree928d54493df2ed01380b65397b8696671d676850 /lib/PublicInbox/LeiNoteEvent.pm
parentd99020ac3612308d04e3760bd780417218748168 (diff)
downloadpublic-inbox-6b8a044462073a15f7746c597f4fd2d4bddf5e7a.tar.gz
This allows MUA-made flag changes to Maildirs to be instantly
read and acknowledged for future search results.

In the future, it may be used to speed up --augment and
--import-before (the default) with with "lei q".
Diffstat (limited to 'lib/PublicInbox/LeiNoteEvent.pm')
-rw-r--r--lib/PublicInbox/LeiNoteEvent.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiNoteEvent.pm b/lib/PublicInbox/LeiNoteEvent.pm
index d6511cf6..1cd15296 100644
--- a/lib/PublicInbox/LeiNoteEvent.pm
+++ b/lib/PublicInbox/LeiNoteEvent.pm
@@ -74,7 +74,7 @@ sub lei_note_event {
         my $err = $lms->arg2folder($lei, [ $folder ]);
         return if $err->{fail};
         undef $lms;
-        my $state = $cfg->get_1("watch.$folder", 'state') // 'pause';
+        my $state = $cfg->get_1("watch.$folder", 'state') // 'tag-rw';
         return if $state eq 'pause';
         $lei->ale; # prepare
         $sto->write_prepare($lei);