some people are determined to fill my database with tombstones, so only save zonk if we deleted something
Ted Unangst tedu@tedunangst.com
Mon, 31 Jul 2023 22:54:53 -0400
1 files changed,
4 insertions(+),
4 deletions(-)
jump to
M
activity.go
→
activity.go
@@ -315,10 +315,10 @@ func eradicatexonk(userid int64, xid string) {
xonk := getxonk(userid, xid) if xonk != nil { deletehonk(xonk.ID) - } - _, err := stmtSaveZonker.Exec(userid, xid, "zonk") - if err != nil { - elog.Printf("error eradicating: %s", err) + _, err := stmtSaveZonker.Exec(userid, xid, "zonk") + if err != nil { + elog.Printf("error eradicating: %s", err) + } } }