]> Sergey Matveev's repositories - public-inbox.git/commit
watchmaildir: fix check for spam vs ham inbox conflicts
authorEric Wong <e@yhbt.net>
Sat, 27 Jun 2020 10:03:32 +0000 (10:03 +0000)
committerEric Wong <e@yhbt.net>
Sun, 28 Jun 2020 22:27:11 +0000 (22:27 +0000)
commitf115168f63c05832d69756723fe9197b03303048
treec9356ec072da9ef1f9b96bdf87f1c556ffa4add7
parente06c008ec1d456d97eb8c52fab8e9a8f924bbdd7
watchmaildir: fix check for spam vs ham inbox conflicts

The old check was ineffective since we process the spam folder
config before ham inboxes; and would only fail when attempting
to treat the scalar "watchspam" string as an array ref.
lib/PublicInbox/WatchMaildir.pm
t/watch_maildir.t