]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/LeiLsMailSource.pm
www_stream: extra link to mirroring information in the footer
[public-inbox.git] / lib / PublicInbox / LeiLsMailSource.pm
index cadc61eda162ca1d5f5502204a6f93d2b520b218..2d8913ac9f090adf1af6ccd6148860be0fed32e3 100644 (file)
@@ -103,8 +103,7 @@ sub _complete_ls_mail_source {
        my $match_cb = $lei->complete_url_prepare(\@argv);
        my @m = map { $match_cb->($_) } $lei->url_folder_cache->keys;
        my %f = map { $_ => 1 } @m;
-       my $sto = $lei->_lei_store;
-       if (my $lms = $sto ? $sto->search->lms : undef) {
+       if (my $lms = $lei->lms) {
                @m = map { $match_cb->($_) } grep(
                        m!\A(?:imaps?|nntps?|s?news)://!, $lms->folders);
                @f{@m} = @m;