save our own emus so they appear in web view
Ted Unangst tedu@tedunangst.com
Fri, 12 Apr 2019 15:26:29 -0400
1 files changed,
7 insertions(+),
0 deletions(-)
jump to
M
honk.go
→
honk.go
@@ -998,6 +998,13 @@ d.Media = media
d.URL = url honk.Donks = append(honk.Donks, &d) } + herd := herdofemus(honk.Noise) + for _, e := range herd { + donk := savedonk(e.ID, e.Name, "image/png") + if donk != nil { + honk.Donks = append(honk.Donks, donk) + } + } aud := strings.Join(honk.Audience, " ") res, err := stmtSaveHonk.Exec(userinfo.UserID, what, "", xid, rid,