]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/LeiRefreshMailSync.pm
lei: always pass $lei to LeiAuth->op_merge
[public-inbox.git] / lib / PublicInbox / LeiRefreshMailSync.pm
index 0cb9f3dccd48ae934937541453692fd492c91e4a..f516f5725f6eb17eeb7f888661b17b831633dd97 100644 (file)
@@ -82,7 +82,7 @@ EOM
        $lei->{opt}->{'mail-sync'} = 1; # for prepare_inputs
        $self->prepare_inputs($lei, \@folders) or return;
        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';