need to reload for consistency...

This commit is contained in:
Ted Unangst 2020-05-18 14:37:00 -04:00
parent e7ce8c5281
commit 140c4d8854
1 changed files with 3 additions and 0 deletions

3
web.go
View File

@ -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)