diff --git a/routes/reply.go b/routes/reply.go index 341a1ba7..8902e537 100644 --- a/routes/reply.go +++ b/routes/reply.go @@ -130,6 +130,7 @@ func CreateReplySubmit(w http.ResponseWriter, r *http.Request, user c.User) c.Ro return c.LocalErrorJSQ("Failed to add poll to reply", w, r, user, js) // TODO: Might need to be an internal error as it could leave phantom polls? } } + _ = c.Rstore.GetCache().Remove(reply.ID) err = c.Forums.UpdateLastTopic(tid, user.ID, topic.ParentID) if err != nil && err != sql.ErrNoRows {