also check for temp article when checking for local existence
This commit is contained in:
parent
a4c8de953a
commit
cff6f50d63
@ -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
|
||||||
|
Reference in New Issue
Block a user