From 71f7f20c2e540491602e35d9f17b9303d0c4617d Mon Sep 17 00:00:00 2001 From: Azareal Date: Wed, 19 Feb 2020 12:59:54 +1000 Subject: [PATCH] fix bug where attachment manager wouldn't appear due to cached reply data --- routes/reply.go | 1 + 1 file changed, 1 insertion(+) 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 {