all repos — honk @ 73a9b23c3e55b1fe51cd0958e56456e621650742

my fork of honk

u
Anirudh Oppiliappan x@icyphox.sh
Fri, 15 Mar 2024 17:42:34 +0200
commit

73a9b23c3e55b1fe51cd0958e56456e621650742

parent

f253f3bbeee9e2195b4a08aaf32ddd638ff997bd

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

jump to
M database.godatabase.go

@@ -1265,7 +1265,7 @@ app := MastoApp{}

row := stmtGetMastoApp.QueryRowx(clientID) err = row.StructScan(&app) if err != nil { - elog.Printf("%w: scanning masto app", err) + elog.Printf("%v: scanning masto app", err) return nil }
M main.gomain.go

@@ -173,6 +173,9 @@ honkwindow *= 24 * time.Hour

prepareStatements(db) + dbx := opendatabasex() + prepareStatementsx(dbx) + c, ok := commands[cmd] if !ok { errx("don't know about %q", cmd)