SA Bugzilla – Bug 1696
You can forget messages you haven't learned
Last modified: 2003-03-27 10:26:27 UTC
I decided to forget a message that I did learn, and the counts went down as expected. But if I forget the message again, the counts went down again. If I change the Message-Id to a message I've never seen before, the counts still go down. So, we need to check bayes_seen() before we forget.
Created attachment 822 [details] suggested patch
the problem is that we check if the message is already learned, but the code only checked if the seen database returned a value. oops. the patch puts the "not learned" check in the right place and adds a "seen value invalid" check too.
OKAY: looks good
applied to 2.53 and head.