From 140c4d885485e4390209ea5147955e3ccbc4b7c8 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Mon, 18 May 2020 14:37:00 -0400 Subject: [PATCH] need to reload for consistency... --- web.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web.go b/web.go index d9ac26a..5e02c35 100644 --- a/web.go +++ b/web.go @@ -1823,6 +1823,9 @@ func submitchonk(w http.ResponseWriter, r *http.Request) { filterchonk(&ch) savechonk(&ch) + // reload for consistency + ch.Donks = nil + donksforchonks([]*Chonk{&ch}) go sendchonk(user, &ch) http.Redirect(w, r, "/chatter", http.StatusSeeOther)