]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/DummyInbox.pm
imap: STATUS/EXAMINE: rely on SQLite overview
[public-inbox.git] / lib / PublicInbox / DummyInbox.pm
index b6c48db1a0e1b16a5bdf8f25cfd8fa588c1d538c..c3f4f5c66749c11dfadf7a1ea5d71504cbb9514f 100644 (file)
@@ -9,13 +9,14 @@ use strict;
 
 sub created_at { 0 } # Msgmap::created_at
 sub mm { shift }
-sub max { undef } # Msgmap::max
-sub msg_range { [] } # Msgmap::msg_range
+sub uid_range { [] } # Over::uid_range
+sub subscribe_unlock { undef };
 
 no warnings 'once';
-*uid_range = *query_xover = \&msg_range;
+*max = \&created_at;
+*query_xover = \&uid_range;
 *over = \&mm;
-*subscribe_unlock = *unsubscribe_unlock =
-       *get_art = *description = *base_url = \&max;
+*unsubscribe_unlock =
+       *get_art = *description = *base_url = \&subscribe_unlock;
 
 1;