all repos — honk @ cddb36be49b98ad95472413e9f9c5b1bd48e2f9e

my fork of honk

save our own emus so they appear in web view
Ted Unangst tedu@tedunangst.com
Fri, 12 Apr 2019 15:26:29 -0400
commit

cddb36be49b98ad95472413e9f9c5b1bd48e2f9e

parent

99c7c41d0bfbd963531c60459790930649d9942c

1 files changed, 7 insertions(+), 0 deletions(-)

jump to
M honk.gohonk.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,