all repos — honk @ d3a1c4a58e0073fdebaa150e17ad4551549dfb33

my fork of honk

reduce duplicate bonks received slightly
Ted Unangst tedu@tedunangst.com
Sun, 14 Apr 2019 10:10:08 -0400
commit

d3a1c4a58e0073fdebaa150e17ad4551549dfb33

parent

c5da4966b54a36457854c366c3606651469290bf

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

jump to
M activity.goactivity.go

@@ -218,7 +218,7 @@ return &donk

} func needxonk(userid int64, x *Honk) bool { - row := stmtFindXonk.QueryRow(userid, x.XID, x.What) + row := stmtFindXonk.QueryRow(userid, x.XID) err := row.Scan(&x.ID) if err == nil { return false
M honk.gohonk.go

@@ -1014,7 +1014,7 @@ stmtFileData, err = db.Prepare("select content from files where xid = ?")

if err != nil { log.Fatal(err) } - stmtFindXonk, err = db.Prepare("select honkid from honks where userid = ? and xid = ? and what = ?") + stmtFindXonk, err = db.Prepare("select honkid from honks where userid = ? and xid = ?") if err != nil { log.Fatal(err) }