allow retrieving myhonks via api
Ted Unangst tedu@tedunangst.com
Mon, 17 Oct 2022 14:01:58 -0400
1 files changed,
3 insertions(+),
0 deletions(-)
jump to
M
web.go
→
web.go
@@ -2350,6 +2350,9 @@ honks = osmosis(honks, userid, false)
case "home": honks = gethonksforuser(userid, wanted) honks = osmosis(honks, userid, true) + case "myhonks": + honks = gethonksbyuser(u.Username, true, wanted) + honks = osmosis(honks, userid, true) default: http.Error(w, "unknown page", http.StatusNotFound) return