fix some format string mismatches
Ted Unangst tedu@tedunangst.com
Mon, 28 Oct 2019 16:03:32 -0400
2 files changed,
2 insertions(+),
2 deletions(-)
M
activity.go
→
activity.go
@@ -1235,7 +1235,7 @@ j["type"] = "Add"
j["id"] = user.URL + "/add/" + shortxid(ont+honk.XID) j["actor"] = user.URL j["object"] = honk.XID - j["target"] = fmt.Sprintf("https://%s/o/%s", ont[1:]) + j["target"] = fmt.Sprintf("https://%s/o/%s", serverName, ont[1:]) rcpts := make(map[string]bool) for _, dub := range dubs { var box *Box
M
web.go
→
web.go
@@ -506,7 +506,7 @@ log.Printf("not sure how to handle this")
return } ont := "#" + m[1] - log.Printf("updating honker undo: %s", who, ont) + log.Printf("updating honker undo: %s %s", who, ont) _, err = stmtUpdateFlavor.Exec("undub", user.ID, who, ont, "dub") if err != nil { log.Printf("error updating honker: %s", err)