Archived
1
0

also check for temp article when checking for local existence

This commit is contained in:
Jeff Becker 2017-12-29 11:21:03 -05:00
parent a4c8de953a
commit cff6f50d63
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -454,7 +454,7 @@ func (self *articleStore) CreateFile(messageID string) io.WriteCloser {
// return true if we have an article // return true if we have an article
func (self *articleStore) HasArticle(messageID string) bool { func (self *articleStore) HasArticle(messageID string) bool {
return CheckFile(self.GetFilename(messageID)) || CheckFile(self.SpamFile(messageID)) return CheckFile(self.GetFilename(messageID)) || CheckFile(self.SpamFile(messageID)) || CheckFile(self.GetFilenameTemp(messageID))
} }
// get the filename for this article // get the filename for this article