only hide keywords on some pages, so threads are complete.

This commit is contained in:
Ted Unangst 2019-06-18 01:35:58 -04:00
parent 1b650e7ca9
commit 4cc4eda76f
1 changed files with 1 additions and 1 deletions

View File

@ -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 {