This will simplify upcoming code for watches.
---
 lib/PublicInbox/LeiInput.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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;
--
unsubscribe: one-click, see List-Unsubscribe header
archive: https://public-inbox.org/meta/

Reply via email to