From d57a633f0f679d2a0d17376341978f1b4385b38f Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Tue, 10 Sep 2019 16:06:06 -0400 Subject: [PATCH] save rid for bonks to track parent --- web.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web.go b/web.go index 9dead53..d30678a 100644 --- a/web.go +++ b/web.go @@ -735,6 +735,7 @@ func savebonk(w http.ResponseWriter, r *http.Request) { What: "bonk", Honker: user.URL, XID: xonk.XID, + RID: xonk.RID, Date: dt, Donks: xonk.Donks, Convoy: xonk.Convoy, @@ -745,7 +746,7 @@ func savebonk(w http.ResponseWriter, r *http.Request) { aud := strings.Join(bonk.Audience, " ") whofore := 2 onts := xonk.Onts - res, err := stmtSaveHonk.Exec(userinfo.UserID, "bonk", bonk.Honker, xid, "", + res, err := stmtSaveHonk.Exec(userinfo.UserID, "bonk", bonk.Honker, xid, bonk.RID, dt.Format(dbtimeformat), "", aud, xonk.Noise, xonk.Convoy, whofore, "html", xonk.Precis, oonker, 0, strings.Join(onts, " ")) if err != nil {