]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/DummyInbox.pm
wwwstream: link to cgit URLs for coderepo
[public-inbox.git] / lib / PublicInbox / DummyInbox.pm
index e38f9e5a432a30045864287badd99cef2eacba4b..69b0b6837c7b9a1cbff333a9d4c8fa4235ccf363 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';
-*query_xover = \&msg_range;
+*max = \&created_at;
+*query_xover = \&uid_range;
 *over = \&mm;
-*subscribe_unlock = *unsubscribe_unlock =
-       *get_art = *description = *base_url = \&max;
+*search = *unsubscribe_unlock =
+       *get_art = *description = *base_url = \&subscribe_unlock;
 
 1;