save our own emus so they appear in web view
This commit is contained in:
parent
80f8f9b935
commit
106edfb77d
7
honk.go
7
honk.go
|
@ -998,6 +998,13 @@ func savehonk(w http.ResponseWriter, r *http.Request) {
|
|||
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,
|
||||
|
|
Loading…
Reference in New Issue