allow subs to resub, from xwatt
Ted Unangst tedu@tedunangst.com
Tue, 24 Jan 2023 19:10:17 -0500
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
activity.go
→
activity.go
@@ -1941,7 +1941,7 @@ who, _ := j.GetString("actor")
ilog.Printf("updating honker accept: %s", who) db := opendatabase() - row := db.QueryRow("select name, folxid from honkers where userid = ? and xid = ? and flavor in ('presub')", + row := db.QueryRow("select name, folxid from honkers where userid = ? and xid = ? and flavor in ('presub', 'sub')", user.ID, who) var name, folxid string err := row.Scan(&name, &folxid)