about summary refs log tree commit homepage
diff options
context:
space:
mode:
-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;