all repos — honk @ 7591f9e6ca98f5f756bca8354cc74da8de359aaa

my fork of honk

rescope
Ted Unangst tedu@tedunangst.com
Sat, 05 Feb 2022 16:54:41 -0500
commit

7591f9e6ca98f5f756bca8354cc74da8de359aaa

parent

7f850efb78a80ddf1eb8f4939b64d070328871b4

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

jump to
M web.goweb.go

@@ -2302,7 +2302,6 @@

func apihandler(w http.ResponseWriter, r *http.Request) { u := login.GetUserInfo(r) userid := u.UserID - user, _ := butwhatabout(u.Username) action := r.FormValue("action") wait, _ := strconv.ParseInt(r.FormValue("wait"), 10, 0) log.Printf("api request '%s' on behalf of %s", action, u.Username)

@@ -2362,6 +2361,7 @@ j := junk.New()

j["honks"] = honks j.Write(w) case "sendactivity": + user, _ := butwhatabout(u.Username) public := r.FormValue("public") == "1" rcpts := boxuprcpts(user, r.Form["rcpt"], public) msg := []byte(r.FormValue("msg"))