From 95da261efcf7c15b5e522344e207a3a04a374961 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 10 Jun 2020 07:04:50 +0000 Subject: imap: allow UID range search on timestamps 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. --- lib/PublicInbox/DummyInbox.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/PublicInbox/DummyInbox.pm') 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; -- cgit v1.2.3-24-ge0c7