diff options
author | Eric Wong <e@80x24.org> | 2021-06-17 22:00:46 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-06-17 22:34:59 +0000 |
commit | 09f1fabd1b3097426734b358d7231c11ab4b8d6e (patch) | |
tree | ddef9b1161d75c047c6462a3c8a7584fb198a805 /lib/PublicInbox/LeiInput.pm | |
parent | d3222f7d456080302103cfa08b98530c984a75e9 (diff) | |
download | public-inbox-09f1fabd1b3097426734b358d7231c11ab4b8d6e.tar.gz |
This will simplify upcoming code for watches.
Diffstat (limited to 'lib/PublicInbox/LeiInput.pm')
-rw-r--r-- | lib/PublicInbox/LeiInput.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiInput.pm b/lib/PublicInbox/LeiInput.pm index 38d3d36d..de2a8ff1 100644 --- a/lib/PublicInbox/LeiInput.pm +++ b/lib/PublicInbox/LeiInput.pm @@ -300,7 +300,8 @@ $input is `eml', not --in-format=$in_fmt push @f, $input; } elsif (-d "$input/new" && -d "$input/cur") { if ($sync) { - $input = $lei->abs_path($input); + $input = 'maildir:'. + $lei->abs_path($input); push @{$sync->{ok}}, $input; } push @md, $input; |