only need to load donks in one case of getxonk
Ted Unangst tedu@tedunangst.com
Sun, 05 May 2019 14:03:12 -0400
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
honk.go
→
honk.go
@@ -524,6 +524,7 @@ if h == nil {
http.NotFound(w, r) return } + donksforhonks([]*Honk{&h}) if friendorfoe(r.Header.Get("Accept")) { _, j := jonkjonk(user, h) j["@context"] = itiswhatitis@@ -632,7 +633,6 @@ return nil
} h.Date, _ = time.Parse(dbtimeformat, dt) h.Audience = strings.Split(aud, " ") - donksforhonks([]*Honk{&h}) return &h }