fix last
This commit is contained in:
parent
bdabd25867
commit
6af4470473
@ -35,6 +35,11 @@ func (self *nullHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
|||||||
hash := parts[0]
|
hash := parts[0]
|
||||||
msg, err := self.database.GetMessageIDByHash(hash)
|
msg, err := self.database.GetMessageIDByHash(hash)
|
||||||
if err == nil {
|
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)
|
template.genThread(self.attachments, self.requireCaptcha, msg, self.prefix, self.name, w, self.database, isjson)
|
||||||
return
|
return
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user