need to reload for consistency...
This commit is contained in:
parent
e7ce8c5281
commit
140c4d8854
1 changed files with 3 additions and 0 deletions
3
web.go
3
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)
|
||||
|
|
Loading…
Reference in a new issue