all repos — honk @ ca5c01f5674ed4f0d715148140623e518752118c

my fork of honk

allow subs to resub, from xwatt
Ted Unangst tedu@tedunangst.com
Tue, 24 Jan 2023 19:10:17 -0500
commit

ca5c01f5674ed4f0d715148140623e518752118c

parent

c1b667916623d437082ffe0eae2ba0e70a02670d

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

jump to
M activity.goactivity.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)