]> Sergey Matveev's repositories - public-inbox.git/commit
inbox: ->uidvalidity returns undef w/o ->mm
authorEric Wong <e@80x24.org>
Wed, 16 Dec 2020 23:56:29 +0000 (23:56 +0000)
committerEric Wong <e@80x24.org>
Thu, 17 Dec 2020 10:02:35 +0000 (10:02 +0000)
commit82e118b8f333d63742ddbc8f9cf995b1f1c12643
tree30aca30cf7d57923393047897348de2f9116b641
parent6e0c641338c00007b30af3b9b18390e587e4fc29
inbox: ->uidvalidity returns undef w/o ->mm

While totally unindexed inboxes are rare, we still support
them for v1 and may hit code which calls this method.  Just
return `undef' when ->mm access fails.
lib/PublicInbox/Inbox.pm