From 8a2d3348fa3d63b2455461445c9bc9551c3ab158 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Tue, 10 Nov 2020 23:32:35 -0500 Subject: [PATCH] load donks for private honk --- web.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web.go b/web.go index 069ca5e..0b1f05a 100644 --- a/web.go +++ b/web.go @@ -1018,10 +1018,12 @@ func showonehonk(w http.ResponseWriter, r *http.Request) { return } + honks := []*Honk{honk} + donksforhonks(honks) templinfo := getInfo(r) templinfo["ServerMessage"] = "one honk maybe more" templinfo["HonkCSRF"] = login.GetCSRF("honkhonk", r) - honkpage(w, u, []*Honk{honk}, templinfo) + honkpage(w, u, honks, templinfo) return } rawhonks := gethonksbyconvoy(honk.UserID, honk.Convoy, 0)