all repos — honk @ 48c56d0c881f3ee0a46fb18598ab135406f6580a

my fork of honk

allow retrieving myhonks via api
Ted Unangst tedu@tedunangst.com
Mon, 17 Oct 2022 14:01:58 -0400
commit

48c56d0c881f3ee0a46fb18598ab135406f6580a

parent

1858832c4a4a08b3e66aefc7169f90be22385df2

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M web.goweb.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