]> Sergey Matveev's repositories - public-inbox.git/commit
watch: imap: only remove \Seen spam
authorEric Wong <e@yhbt.net>
Thu, 27 Aug 2020 12:17:04 +0000 (12:17 +0000)
committerEric Wong <e@yhbt.net>
Thu, 27 Aug 2020 22:33:47 +0000 (22:33 +0000)
commit4f623a133e5531032e378a3d5dd9aec9243450ae
tree174d3a2c88d1882e923f074c3cb99432ffb6d8ed
parent7cca148aa220d2c747f6487bd8987e0e36db0367
watch: imap: only remove \Seen spam

This matches the behavior of Maildir `watchspam' handling in not
removing unseen messages.  NNTP can't match this behavior, since
NNTP servers don't store flags, clients do.
lib/PublicInbox/WatchMaildir.pm