]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/LeiInput.pm
lei ls-mail-source: list IMAP folders and NNTP groups
[public-inbox.git] / lib / PublicInbox / LeiInput.pm
index 24211bf0cb0dff8a056cff8b84bb85438521ebfc..92d67715194b4f10bdc7750793b3e656a2fdf773 100644 (file)
@@ -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?