load donks for private honk
This commit is contained in:
parent
8369d6f066
commit
8a2d3348fa
4
web.go
4
web.go
|
@ -1018,10 +1018,12 @@ func showonehonk(w http.ResponseWriter, r *http.Request) {
|
||||||
return
|
return
|
||||||
|
|
||||||
}
|
}
|
||||||
|
honks := []*Honk{honk}
|
||||||
|
donksforhonks(honks)
|
||||||
templinfo := getInfo(r)
|
templinfo := getInfo(r)
|
||||||
templinfo["ServerMessage"] = "one honk maybe more"
|
templinfo["ServerMessage"] = "one honk maybe more"
|
||||||
templinfo["HonkCSRF"] = login.GetCSRF("honkhonk", r)
|
templinfo["HonkCSRF"] = login.GetCSRF("honkhonk", r)
|
||||||
honkpage(w, u, []*Honk{honk}, templinfo)
|
honkpage(w, u, honks, templinfo)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
rawhonks := gethonksbyconvoy(honk.UserID, honk.Convoy, 0)
|
rawhonks := gethonksbyconvoy(honk.UserID, honk.Convoy, 0)
|
||||||
|
|
Loading…
Reference in New Issue