]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/LeiOverview.pm
lei q: fix JSON overview with remote externals
[public-inbox.git] / lib / PublicInbox / LeiOverview.pm
index 49538a609c577a4cab5b7a2e3327040d6f131d41..928d66cbed233d0a83e0e51442a527a86d37e094 100644 (file)
@@ -209,7 +209,7 @@ sub ovv_each_smsg_cb { # runs in wq worker usually
                $json->ascii(1) if $lei->{opt}->{ascii};
        }
        my $l2m = $lei->{l2m};
-       if ($l2m && $ibxish->can('scheme')) { # remote https?:// mboxrd
+       if ($l2m && !$ibxish) { # remote https?:// mboxrd
                delete $l2m->{-wq_s1};
                my $g2m = $l2m->can('git_to_mail');
                my $wcb = $l2m->write_cb($lei);