about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiRefreshMailSync.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-10-23 18:20:39 -0600
committerEric Wong <e@80x24.org>2021-10-24 02:20:33 +0000
commitcb04d2ddfd53c36eaf1a49cadb8158ae76622683 (patch)
treec8d3a73fe10fac26f3d892a82bc01eb623771d1a /lib/PublicInbox/LeiRefreshMailSync.pm
parent9a7c75b64e9dc351fddce61b32694d504c2e80c2 (diff)
downloadpublic-inbox-cb04d2ddfd53c36eaf1a49cadb8158ae76622683.tar.gz
lei: always pass $lei to LeiAuth->op_merge
This will make future developments easier.
Diffstat (limited to 'lib/PublicInbox/LeiRefreshMailSync.pm')
-rw-r--r--lib/PublicInbox/LeiRefreshMailSync.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiRefreshMailSync.pm b/lib/PublicInbox/LeiRefreshMailSync.pm
index 0cb9f3dc..f516f572 100644
--- a/lib/PublicInbox/LeiRefreshMailSync.pm
+++ b/lib/PublicInbox/LeiRefreshMailSync.pm
@@ -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';