rescope
Ted Unangst tedu@tedunangst.com
Sat, 05 Feb 2022 16:54:41 -0500
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
web.go
→
web.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"))