about summary refs log tree commit homepage
path: root/lib/PublicInbox/Inbox.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2020-10-16 06:59:31 +0000
committerEric Wong <e@80x24.org>2020-10-16 17:15:12 +0000
commitc0174089f48d081bb84ce776d5b6ee0bf19a4fa1 (patch)
tree53d7ae62a5ebec06fff7c87a9c0e4c55ff827306 /lib/PublicInbox/Inbox.pm
parent0438ee2b1a5fbeb587ee62aa3e267ec09d281bd9 (diff)
downloadpublic-inbox-c0174089f48d081bb84ce776d5b6ee0bf19a4fa1.tar.gz
This will make it easier to deal with ExtSearchIdx, which
won't have msgmap.
Diffstat (limited to 'lib/PublicInbox/Inbox.pm')
-rw-r--r--lib/PublicInbox/Inbox.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/PublicInbox/Inbox.pm b/lib/PublicInbox/Inbox.pm
index b0894a7d..cbb95b8d 100644
--- a/lib/PublicInbox/Inbox.pm
+++ b/lib/PublicInbox/Inbox.pm
@@ -428,4 +428,6 @@ sub on_unlock {
         }
 }
 
+sub uidvalidity  { $_[0]->{uidvalidity} //= $_[0]->mm->created_at }
+
 1;