all repos — honk @ cd6c884bbdf0ca79e8fe4c10fc99cb9564356db5

my fork of honk

allow resubscribing
Ted Unangst tedu@tedunangst.com
Sun, 08 Mar 2020 12:51:49 -0400
commit

cd6c884bbdf0ca79e8fe4c10fc99cb9564356db5

parent

4ea9dfdb6c6b28460a507d2052b6ea15ea7a1775

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

jump to
M web.goweb.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 {