about summary refs log tree commit homepage
path: root/lib/PublicInbox/ExtMsg.pm
diff options
context:
space:
mode:
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2018-02-16 00:17:16 +0000
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2018-02-16 00:17:16 +0000
commit777df7d3f08de47c5b905a6ec8e7271fb2c1df9d (patch)
tree9de22e5d7ae63d6553ab8f5194c7dc1a4363a85a /lib/PublicInbox/ExtMsg.pm
parentc83ba91fcebd7e346e71ef155e7c618130c70111 (diff)
downloadpublic-inbox-777df7d3f08de47c5b905a6ec8e7271fb2c1df9d.tar.gz
This likely has no real world implications, though, as we
fall back to Msgmap lookups anyways.

Broken since commit 7eeadcb62729b0efbcb53cd9b7b181897c92cf9a
("search: remove unnecessary abstractions and functionality")
Diffstat (limited to 'lib/PublicInbox/ExtMsg.pm')
-rw-r--r--lib/PublicInbox/ExtMsg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/ExtMsg.pm b/lib/PublicInbox/ExtMsg.pm
index ab9591f9..4e31ef0f 100644
--- a/lib/PublicInbox/ExtMsg.pm
+++ b/lib/PublicInbox/ExtMsg.pm
@@ -46,7 +46,7 @@ sub ext_msg {
                 }
 
                 # try to find the URL with Xapian to avoid forking
-                my $doc_id = eval { $s->find_unique_doc_id('mid', $mid) };
+                my $doc_id = eval { $s->find_unique_doc_id('XMID' . $mid) };
                 if ($@) {
                         # xapian not configured properly for this repo
                         push @nox, $other;