]> Sergey Matveev's repositories - public-inbox.git/commit
imap: cleanup ->{uid_base} usage
authorEric Wong <e@yhbt.net>
Wed, 10 Jun 2020 07:05:08 +0000 (07:05 +0000)
committerEric Wong <e@yhbt.net>
Sat, 13 Jun 2020 07:55:45 +0000 (07:55 +0000)
commitf12e29ebc3ddf89099242964fdf91d1421a36014
tree3943325f6ad6a17bc1568fc1868ce4ad13dbbf22
parentc3ebc6eb3a1c451d3c4a7e35f4e6ed2b372e802b
imap: cleanup ->{uid_base} usage

Ensure {uid_base} is always set, so we don't need to add `//'
checks everywhere.  Furthermore, this fixes a hard-to-test bug
where the STATUS command would inadvertantly clobber {uid_base}.
lib/PublicInbox/IMAP.pm