From cff6f50d63f6d563ac4e5c259addcb0be795dcc8 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Fri, 29 Dec 2017 11:21:03 -0500 Subject: [PATCH] also check for temp article when checking for local existence --- contrib/backends/srndv2/src/srnd/store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/backends/srndv2/src/srnd/store.go b/contrib/backends/srndv2/src/srnd/store.go index 44df224..29a5a3d 100644 --- a/contrib/backends/srndv2/src/srnd/store.go +++ b/contrib/backends/srndv2/src/srnd/store.go @@ -454,7 +454,7 @@ func (self *articleStore) CreateFile(messageID string) io.WriteCloser { // return true if we have an article 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