projects
/
public-inbox.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a8dfc7
)
imap: SEARCH fails more gracefully in non-slice mailbox
author
Eric Wong <e@yhbt.net>
Mon, 13 Jul 2020 07:00:35 +0000 (07:00 +0000)
committer
Eric Wong <e@yhbt.net>
Mon, 13 Jul 2020 21:12:54 +0000 (21:12 +0000)
Instead of returning "BAD program fault", just give the
standard "BAD search not available"... message we show
for mailbox slices.
lib/PublicInbox/DummyInbox.pm
patch
|
blob
|
history
diff --git
a/lib/PublicInbox/DummyInbox.pm
b/lib/PublicInbox/DummyInbox.pm
index c3f4f5c66749c11dfadf7a1ea5d71504cbb9514f..69b0b6837c7b9a1cbff333a9d4c8fa4235ccf363 100644
(file)
--- 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;