Archived
1
0
This commit is contained in:
Jeff 2017-08-03 12:09:11 -04:00
parent bdabd25867
commit 6af4470473

View File

@ -35,6 +35,11 @@ func (self *nullHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
hash := parts[0]
msg, err := self.database.GetMessageIDByHash(hash)
if err == nil {
if !db.HasArticleLocal(msg.MessageID()) {
goto notfound
}
template.genThread(self.attachments, self.requireCaptcha, msg, self.prefix, self.name, w, self.database, isjson)
return
} else {