about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiImport.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-03-16 07:43:44 +0600
committerEric Wong <e@80x24.org>2021-03-16 06:32:06 -0400
commit327a4c0a44ab301922a2b2829d423d2e9fc18faf (patch)
tree1f59a48cac66b5bbb71191bc533eb3e701825b0d /lib/PublicInbox/LeiImport.pm
parent1b19e689f0b76290a437dd614da8685574e72b73 (diff)
downloadpublic-inbox-327a4c0a44ab301922a2b2829d423d2e9fc18faf.tar.gz
MboxReader is a more appropriate place for it than LeiStore.
Diffstat (limited to 'lib/PublicInbox/LeiImport.pm')
-rw-r--r--lib/PublicInbox/LeiImport.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiImport.pm b/lib/PublicInbox/LeiImport.pm
index 815788b3..65e37371 100644
--- a/lib/PublicInbox/LeiImport.pm
+++ b/lib/PublicInbox/LeiImport.pm
@@ -11,7 +11,8 @@ use PublicInbox::PktOp qw(pkt_do);
 
 sub _import_eml { # MboxReader callback
         my ($eml, $sto, $set_kw) = @_;
-        $sto->ipc_do('set_eml', $eml, $set_kw ? $sto->mbox_keywords($eml) : ());
+        $sto->ipc_do('set_eml', $eml, $set_kw ?
+                @{PublicInbox::MboxReader::mbox_keywords($eml)} : ());
 }
 
 sub import_done_wait { # dwaitpid callback