]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/LeiMailDiff.pm
lei: always pass $lei to LeiAuth->op_merge
[public-inbox.git] / lib / PublicInbox / LeiMailDiff.pm
index a29ae2259f71dfba9e5c2f1f5d28305685da73f4..4f3a4608d8e0beceafda3830b9fff41ffbae6b4d 100644 (file)
@@ -83,7 +83,7 @@ sub lei_mail_diff {
        $lei->{opt}->{color} //= $isatty;
        $lei->start_pager if $isatty;
        my $ops = {};
-       $lei->{auth}->op_merge($ops, $self) if $lei->{auth};
+       $lei->{auth}->op_merge($ops, $self, $lei) if $lei->{auth};
        (my $op_c, $ops) = $lei->workers_start($self, 1, $ops);
        $lei->{wq1} = $self;
        $lei->{-err_type} = 'non-fatal';