about summary refs log tree commit homepage
path: root/lib/PublicInbox/DummyInbox.pm
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-06-10 07:04:50 +0000
committerEric Wong <e@yhbt.net>2020-06-13 07:55:45 +0000
commit95da261efcf7c15b5e522344e207a3a04a374961 (patch)
tree34616e111e84d8bbbd1d5f75f2e683e225c7cb1d /lib/PublicInbox/DummyInbox.pm
parentde4084d8f5d9765db61c446fc03b80dbb163ee1b (diff)
downloadpublic-inbox-95da261efcf7c15b5e522344e207a3a04a374961.tar.gz
Since it seems somewhat common for IMAP clients to limit
searches by sent Date: or INTERNALDATE, we can rely on
the NNTP/WWW-optimized overview DB.

For other queries, we'll have to depend on the Xapian DB.
Diffstat (limited to 'lib/PublicInbox/DummyInbox.pm')
-rw-r--r--lib/PublicInbox/DummyInbox.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/DummyInbox.pm b/lib/PublicInbox/DummyInbox.pm
index e38f9e5a..b6c48db1 100644
--- a/lib/PublicInbox/DummyInbox.pm
+++ b/lib/PublicInbox/DummyInbox.pm
@@ -13,7 +13,7 @@ sub max { undef } # Msgmap::max
 sub msg_range { [] } # Msgmap::msg_range
 
 no warnings 'once';
-*query_xover = \&msg_range;
+*uid_range = *query_xover = \&msg_range;
 *over = \&mm;
 *subscribe_unlock = *unsubscribe_unlock =
         *get_art = *description = *base_url = \&max;