]> Sergey Matveev's repositories - public-inbox.git/commitdiff
lei note-event: wq_io_do => wq_do
authorEric Wong <e@80x24.org>
Thu, 21 Oct 2021 21:10:23 +0000 (21:10 +0000)
committerEric Wong <e@80x24.org>
Fri, 22 Oct 2021 00:54:40 +0000 (00:54 +0000)
No need to pass extra arrayref args, here.

lib/PublicInbox/LeiNoteEvent.pm

index 0709754f6d2acc019594e2414b88754fe2bd3392..3472e73070d6e86c9fe4f57b87b37db1c7d13be4 100644 (file)
@@ -97,7 +97,7 @@ sub lei_note_event {
                return if index($fl, 'T') >= 0;
                my $kw = PublicInbox::MdirReader::flags2kw($fl);
                my $vmd = { kw => $kw, sync_info => [ $folder, \$bn ] };
                return if index($fl, 'T') >= 0;
                my $kw = PublicInbox::MdirReader::flags2kw($fl);
                my $vmd = { kw => $kw, sync_info => [ $folder, \$bn ] };
-               $self->wq_io_do('maildir_event', [], $fn, $vmd, $state);
+               $self->wq_do('maildir_event', $fn, $vmd, $state);
        } # else: TODO: imap
 }
 
        } # else: TODO: imap
 }