about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiInput.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-06-11 09:42:40 +0000
committerEric Wong <e@80x24.org>2021-06-12 00:05:59 +0000
commit26c426cf6fd9a3f44f11fa30e4824aeac574a6a0 (patch)
treee1b383bae5485a7302b2145e71167e902c7e55fe /lib/PublicInbox/LeiInput.pm
parentbe365fb4bd3eda10294d4a916321c28b90dd723d (diff)
downloadpublic-inbox-26c426cf6fd9a3f44f11fa30e4824aeac574a6a0.tar.gz
While other tools can provide the same functionality, having
integration with git-credential is convenient, here.  Caching
and completion will be implemented separately.
Diffstat (limited to 'lib/PublicInbox/LeiInput.pm')
-rw-r--r--lib/PublicInbox/LeiInput.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiInput.pm b/lib/PublicInbox/LeiInput.pm
index 24211bf0..92d67715 100644
--- a/lib/PublicInbox/LeiInput.pm
+++ b/lib/PublicInbox/LeiInput.pm
@@ -229,7 +229,7 @@ sub prepare_inputs { # returns undef on error
                 if ($input =~ m!\A(?:imaps?|nntps?|s?news)://!i) {
                         require PublicInbox::NetReader;
                         $net //= PublicInbox::NetReader->new;
-                        $net->add_url($input);
+                        $net->add_url($input, $self->{-ls_ok});
                         push @{$sync->{ok}}, $input if $sync;
                 } elsif ($input_path =~ m!\Ahttps?://!i) { # mboxrd.gz
                         # TODO: how would we detect r/w JMAP?