save rid for bonks to track parent
This commit is contained in:
parent
e081c594cc
commit
d57a633f0f
3
web.go
3
web.go
|
@ -735,6 +735,7 @@ func savebonk(w http.ResponseWriter, r *http.Request) {
|
||||||
What: "bonk",
|
What: "bonk",
|
||||||
Honker: user.URL,
|
Honker: user.URL,
|
||||||
XID: xonk.XID,
|
XID: xonk.XID,
|
||||||
|
RID: xonk.RID,
|
||||||
Date: dt,
|
Date: dt,
|
||||||
Donks: xonk.Donks,
|
Donks: xonk.Donks,
|
||||||
Convoy: xonk.Convoy,
|
Convoy: xonk.Convoy,
|
||||||
|
@ -745,7 +746,7 @@ func savebonk(w http.ResponseWriter, r *http.Request) {
|
||||||
aud := strings.Join(bonk.Audience, " ")
|
aud := strings.Join(bonk.Audience, " ")
|
||||||
whofore := 2
|
whofore := 2
|
||||||
onts := xonk.Onts
|
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",
|
dt.Format(dbtimeformat), "", aud, xonk.Noise, xonk.Convoy, whofore, "html",
|
||||||
xonk.Precis, oonker, 0, strings.Join(onts, " "))
|
xonk.Precis, oonker, 0, strings.Join(onts, " "))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue