allow resubscribing
Ted Unangst tedu@tedunangst.com
Sun, 08 Mar 2020 12:51:49 -0400
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
web.go
→
web.go
@@ -1795,7 +1795,7 @@ }
if goodbye == "X" { var owner string db := opendatabase() - row := db.QueryRow("select xid, owner from honkers where honkerid = ? and userid = ? and flavor in ('unsub', 'peep', 'presub')", + row := db.QueryRow("select xid, owner from honkers where honkerid = ? and userid = ? and flavor in ('unsub', 'peep', 'presub, 'sub')", honkerid, u.UserID) err := row.Scan(&url, &owner) if err != nil {