From ded05deae357a9a27ece00f1c5f1cd63782fadef Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 13 Jul 2020 07:00:35 +0000 Subject: imap: SEARCH fails more gracefully in non-slice mailbox Instead of returning "BAD program fault", just give the standard "BAD search not available"... message we show for mailbox slices. --- 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 c3f4f5c6..69b0b683 100644 --- a/lib/PublicInbox/DummyInbox.pm +++ b/lib/PublicInbox/DummyInbox.pm @@ -16,7 +16,7 @@ no warnings 'once'; *max = \&created_at; *query_xover = \&uid_range; *over = \&mm; -*unsubscribe_unlock = +*search = *unsubscribe_unlock = *get_art = *description = *base_url = \&subscribe_unlock; 1; -- cgit v1.2.3-24-ge0c7