diff options
author | Eric Wong <e@80x24.org> | 2020-10-16 06:59:31 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2020-10-16 17:15:12 +0000 |
commit | c0174089f48d081bb84ce776d5b6ee0bf19a4fa1 (patch) | |
tree | 53d7ae62a5ebec06fff7c87a9c0e4c55ff827306 /lib/PublicInbox/DummyInbox.pm | |
parent | 0438ee2b1a5fbeb587ee62aa3e267ec09d281bd9 (diff) | |
download | public-inbox-c0174089f48d081bb84ce776d5b6ee0bf19a4fa1.tar.gz |
This will make it easier to deal with ExtSearchIdx, which won't have msgmap.
Diffstat (limited to 'lib/PublicInbox/DummyInbox.pm')
-rw-r--r-- | lib/PublicInbox/DummyInbox.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/DummyInbox.pm b/lib/PublicInbox/DummyInbox.pm index 69b0b683..02426f13 100644 --- a/lib/PublicInbox/DummyInbox.pm +++ b/lib/PublicInbox/DummyInbox.pm @@ -7,13 +7,13 @@ package PublicInbox::DummyInbox; use strict; -sub created_at { 0 } # Msgmap::created_at +sub uidvalidity { 0 } # Msgmap::created_at sub mm { shift } sub uid_range { [] } # Over::uid_range sub subscribe_unlock { undef }; no warnings 'once'; -*max = \&created_at; +*max = \&uidvalidity; *query_xover = \&uid_range; *over = \&mm; *search = *unsubscribe_unlock = |