only hide keywords on some pages, so threads are complete.
This commit is contained in:
parent
1b650e7ca9
commit
4cc4eda76f
2
honk.go
2
honk.go
|
@ -501,6 +501,7 @@ func showcombo(w http.ResponseWriter, r *http.Request) {
|
||||||
name := mux.Vars(r)["name"]
|
name := mux.Vars(r)["name"]
|
||||||
u := login.GetUserInfo(r)
|
u := login.GetUserInfo(r)
|
||||||
honks := gethonksbycombo(u.UserID, name)
|
honks := gethonksbycombo(u.UserID, name)
|
||||||
|
honks = osmosis(honks, u.UserID)
|
||||||
honkpage(w, r, u, nil, honks, "honks by combo: "+name)
|
honkpage(w, r, u, nil, honks, "honks by combo: "+name)
|
||||||
}
|
}
|
||||||
func showconvoy(w http.ResponseWriter, r *http.Request) {
|
func showconvoy(w http.ResponseWriter, r *http.Request) {
|
||||||
|
@ -546,7 +547,6 @@ func honkpage(w http.ResponseWriter, r *http.Request, u *login.UserInfo, user *W
|
||||||
reverbolate(honks)
|
reverbolate(honks)
|
||||||
templinfo := getInfo(r)
|
templinfo := getInfo(r)
|
||||||
if u != nil {
|
if u != nil {
|
||||||
honks = osmosis(honks, u.UserID)
|
|
||||||
templinfo["HonkCSRF"] = login.GetCSRF("honkhonk", r)
|
templinfo["HonkCSRF"] = login.GetCSRF("honkhonk", r)
|
||||||
}
|
}
|
||||||
if u == nil {
|
if u == nil {
|
||||||
|
|
Loading…
Reference in New Issue