about summary refs log tree commit homepage
path: root/lib/PublicInbox/ExtSearch.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2020-10-27 07:54:47 +0000
committerEric Wong <e@80x24.org>2020-11-07 10:22:07 +0000
commita624577bd7417759b7428266da7e6f5a3413bc8e (patch)
tree0c8f4fcd40b9aa5a3b750994a7f75ba8ec4f628b /lib/PublicInbox/ExtSearch.pm
parentf316b291e50f8d82eb067fbbe777ca3ffe5d7ae4 (diff)
downloadpublic-inbox-a624577bd7417759b7428266da7e6f5a3413bc8e.tar.gz
We'll probably still need synchronous message retrieval
in a few places (tests, at least).
Diffstat (limited to 'lib/PublicInbox/ExtSearch.pm')
-rw-r--r--lib/PublicInbox/ExtSearch.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/PublicInbox/ExtSearch.pm b/lib/PublicInbox/ExtSearch.pm
index 8997cd54..3e8ca82c 100644
--- a/lib/PublicInbox/ExtSearch.pm
+++ b/lib/PublicInbox/ExtSearch.pm
@@ -7,6 +7,7 @@ package PublicInbox::ExtSearch;
 use strict;
 use v5.10.1;
 use PublicInbox::Over;
+use PublicInbox::Inbox;
 
 # for ->reopen, ->mset, ->mset_to_artnums
 use parent qw(PublicInbox::Search);
@@ -37,4 +38,7 @@ sub git {
         $self->{git} //= PublicInbox::Git->new("$self->{topdir}/ALL.git");
 }
 
+no warnings 'once';
+*smsg_eml = \&PublicInbox::Inbox::smsg_eml;
+
 1;