make extra sure emus don't slip out as attachments

This commit is contained in:
Ted Unangst 2019-04-18 16:34:51 -04:00
parent 73515d50ac
commit 52f93b3534
1 changed files with 1 additions and 0 deletions

View File

@ -805,6 +805,7 @@ func savehonk(w http.ResponseWriter, r *http.Request) {
for _, e := range herd { for _, e := range herd {
donk := savedonk(e.ID, e.Name, "image/png") donk := savedonk(e.ID, e.Name, "image/png")
if donk != nil { if donk != nil {
donk.Name = e.Name
honk.Donks = append(honk.Donks, donk) honk.Donks = append(honk.Donks, donk)
} }
} }