add some pages missing from api
Ted Unangst tedu@tedunangst.com
Fri, 02 Feb 2024 14:26:49 -0500
1 files changed,
15 insertions(+),
0 deletions(-)
jump to
M
web.go
→
web.go
@@ -2592,6 +2592,21 @@ honks = osmosis(honks, userid, true)
case "myhonks": honks = gethonksbyuser(u.Username, true, wanted) honks = osmosis(honks, userid, true) + case "saved": + honks = getsavedhonks(userid, wanted) + case "combo": + c := r.FormValue("c") + honks = gethonksbycombo(userid, c, wanted) + honks = osmosis(honks, userid, false) + case "convoy": + c := r.FormValue("c") + honks = gethonksbyconvoy(userid, c, 0) + honks = osmosis(honks, userid, false) + honks = threadsort(honks) + honks, _ = threadposes(honks, wanted) + case "honker": + xid := r.FormValue("xid") + honks = gethonksbyxonker(userid, xid, wanted) default: http.Error(w, "unknown page", http.StatusNotFound) return